mlua icon indicating copy to clipboard operation
mlua copied to clipboard

High level Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau bindings to Rust with async/await support

Results 108 mlua issues
Sort by recently updated
recently updated
newest added

It looks like mlua already supports wasm through `wasm32-unknown-emscripten`, would it be possible to add `wasm32-wasi` support as well?

I was in need to track the number of memory allocations, so added an API to support this. - `Lua::num_allocations` simply returns a number of allocations invoked by Lua runtime...

This pull request introduces the implementation of the `FromLua` trait for `serde_json::Value`. This will allow smooth conversion from Lua values to serde_json values and get rid of the `'lua` lifetime,...

Since `Lua` isn't `Sync`, I am wondering if there's any way to use mlua with axum. I am trying to have one of the axum handlers receive a piece of...

set_hook doesn't work properly when executing Lua with exec_async() ```rust use anyhow::Result; use mlua::{HookTriggers, Lua}; #[tokio::main] async fn main() -> Result { let lua = Lua::new(); lua.set_hook(HookTriggers::EVERY_LINE, move |_lua, _debug|...

Pluto is a superset of Lua 5.4 — with unique features, optimizations, and improvements. https://github.com/PlutoLang/Pluto Any plan to integrate Pluto in mula? ``` [dependencies] mlua = { version = "0.9",...

Heya, apologies if this isn't the correct repo to open this, still figuring out how the build process works. It could also be in [xwin](https://github.com/rust-cross/cargo-xwin) or [luau](https://github.com/luau-lang/luau). When building a...

I have a struct with a few members I am also exposing in my Lua API. At the moment I wrap the struct member in an Rc, though this is...

Hi, I was trying to benchmark mlua to see what gain I can achieve by moving some of the logic of my program to mlua so I wrote this test:...