mlua
High level Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau bindings to Rust with async/await support observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 94
- Release rhythm 92
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28.0
- age_days: 2469
- days_rel: 59
- days_push: 36
- n_releases_24m: 13
Adoption not part of the score
2844 stars · 212 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mlua is a Rust library providing safe, high-level bindings to Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau, with async/await support and the ability to write native Lua modules in Rust. It began as a fork of rlua and supports Windows, macOS, Linux, and WebAssembly targets.
Use cases
- embed a Lua scripting engine in a Rust application
- write native Lua modules in Rust
- run async Rust code from Lua scripts
- support multiple Lua versions including LuaJIT and Luau
- serialize Rust data structures to and from Lua with serde
- compile Lua bindings to WebAssembly
When to choose
- you need safe, idiomatic Rust bindings to Lua with a high-level API
- you need to support many Lua versions or LuaJIT/Luau from one library
- you want async/await integration between Rust and Lua
- you want to build loadable Lua modules in Rust
When to avoid
- you need bindings for a language other than Rust
- you want a full Lua interpreter as a standalone executable rather than an embeddable library
- you need zero C dependency and pure-Rust Lua implementation
Facets
library · maturity active
programming-language interpreter sdk serialization concurrency programming-languages developer-tools cross-platform rust windows wasm cross-platform lua-bindings luajit luau scripting async-await ffi native-modules linux macos
3 sources
- readme: https://github.com/mlua-rs/mlua · fetched 2026-08-28 · 18e9fe65d978
- registry_crates: https://crates.io/api/v1/crates/mlua · fetched 2026-08-29 · 5f44b060e875
- registry_crates: https://crates.io/api/v1/crates/rlua · fetched 2026-08-29 · 4f0c643fbf47
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mlua-rs/mlua | main | 94 |
| mlua-rs/rlua | mirror | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem