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 94 mlua issues
Sort by recently updated
recently updated
newest added

### Discussed in https://github.com/khvzak/mlua/discussions/196 Originally posted by **33kk** August 2, 2022 I need to cap memory usage of the lua context, so I am trying to check current memory usage...

#152 But, I don't think `SerializeToLua` and `DeserializeFromLua` is a good idea. I expect `fn add_one(_: &Lua, arg: Test) -> LuaResult` rather than `fn add_one(_: &Lua, arg: DeserializeFromLua) -> LuaResult`.

## The code is just a proof of concept, this really should not be merged because of panic! usage. Hi there! This pull-request shows off how lifetimes might get removed...

I had a go at implementing a `load_file` function that uses lua's native `luaL_loadfile` function. This makes it easier to load files. Feedback would be greatly appreciated! closes #139

There are many use cases where you need to treat callable objects as function, especially when writing a library. Maybe add a `{Table, AnyUserData}::into_function`, since `TableExt::call`'s implementation is just turning...

At the moment, attempting to build for `wasm32-unknown-unknown` causes the following panic: `don't know how to build Lua for wasm32-unknown-unknown`. I know running Lua in wasm isn't the most efficient...

Hi! I've found this issue in my project, [blackack](https://github.com/setzer22/blackjack). It had been bugging me for a while, but I wasn't able to isolate a reproduction until today, where I finally...

While my use case might be a bit unusual (trying to implement the neovim api from lua, to write a plugin with mlua) the feature might have more useful use...

I want to integrate idea debugging tools in Lua, but MLUa does not seem to support loading external DLLS for use, here is the sample code: `package.cpath = package.cpath .....

In the following code ```rust use mlua::{Lua, LuaSerdeExt}; use serde::Deserialize; #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] pub struct CompletionItem { pub label: String, pub additional_text_edits: Vec, } #[derive(Debug, Deserialize)] #[serde(rename_all =...