Decision Workspace
luna-jit vs luna-core vs luna-jit-helpers
Side-by-side comparison of Rust crates
A Lua runtime in pure Rust — full 5.1/5.2/5.3/5.4/5.5 support. Equivalent to `luna-core` plus a Cranelift-backed JIT (method + trace) and the lua.h-compatible C ABI. (The `luna` crate name on crates.io is taken by an unrelated utility library; this crate is the JIT-equipped variant of the goliajp/luna Lua runtime.)
Pure-Rust Lua runtime (interpreter only, zero third-party dependencies). The JIT-equipped variant lives in the `luna-jit` crate.
Shared `luna_jit_*` extern-C runtime helpers + per-thread JIT_VM/JIT_CL TLS slots + `enter_jit` RAII rebind for the goliajp/luna Lua runtime. Used by both `luna-jit` (Cranelift backend) and `luna-jit-llvm` (LLVM alt backend) so the helper symbol table and TLS discipline stay single-source-of-truth across JIT backends. Internal infrastructure crate — embedders should depend on `luna-jit`, not this crate directly.
Core Metrics
| luna-jit | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Health Score | 61 | 66 | 63 |
| Total Downloads | 844 | 9.3K | 966 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 54 | 250 | 52 |
| Releases | 28 | 28 | 26 |
| Last Updated | 6d ago | 6d ago | 6d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
Technical Details
| luna-jit | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Version | 4.0.2 | 4.0.2 | 4.0.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 13 | 1 | 1 |
| Crate Size | 385KB | 2.0MB | 22KB |
| Features | 3 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.96 | 1.96 | 1.96 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •luna-core leads with a health score of 66/100, but none of the options score above 80.
- •luna-core is depended on by 250 crates — strongest ecosystem trust.