Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-18 | Fix module imports for export (#394) | Joris Willems | |
2024-03-25 | chore: make clippy happy (#388) | Yiyu Lin | |
Co-authored-by: hzlinyiyu <hzlinyiyu@corp.netease.com> | |||
2024-01-25 | Fix `FromLua` derive proc macro to cover more cases | Alex Orlenko | |
2024-01-10 | Include skip_memory_check code only when the corresponding attribute set for ↵ | Alex Orlenko | |
module | |||
2024-01-10 | Fix edge case when loading many-in-one module from thread without using its ↵ | Alex Orlenko | |
state. If Lua previously been initialized in main thread and then new module was loaded from thread we reuse old state which confuses Lua loader. | |||
2023-07-31 | Update module entrypoint function. | Alex Orlenko | |
Return c_int instead of Result (and avoid potential panic on Rust side). | |||
2023-07-27 | Fix `AsChunk` trait to support capturing wrapped Lua types ↵ | Alex Orlenko | |
(`AnyUserData::wrap()` and `Function::wrap()`). This is a breaking change, the `'lua` lifetime used to in environment moved to the trait declaration. | |||
2023-07-22 | Use c-unwind ABI (Rust 1.71+) | Alex Orlenko | |
2023-07-16 | Add `#[derive(FromLua)]` macro to opt-in into `FromLua<T> where T: 'static + ↵ | Alex Orlenko | |
Clone` (userdata type). Future macro implementations will allow making T from Lua tables/other values. Relates to #291. | |||
2023-07-10 | Add new module attribule `skip_memory_check` to improve performance | Alex Orlenko | |
in module mode (by skipping memory allocations check) with extra risks. | |||
2023-06-03 | Require environment to be a Table instead of Value in Chunks. | Alex Orlenko | |
In addition to that, `AsChunk::env()` renamed to `AsChunk::environment()`. | |||
2023-04-22 | (clippy) mlua_derive: don't clone function name | Alex Orlenko | |
2023-03-28 | Clippy | Alex Orlenko | |
2023-03-28 | More user-friendly error message about missing value for `name` attribute in ↵ | Alex Orlenko | |
module macro Update the `[lua_module]` doc | |||
2023-03-28 | Switch to syn 2.0 | Alex Orlenko | |
2023-02-07 | Fix clippy warnings | Alex Orlenko | |
2022-12-19 | Refactor `AsChunk` trait | Alex Orlenko | |
2022-12-18 | Check for invalid args when parsing `#[lua_module(...)]` proc macro | Alex Orlenko | |
2022-12-18 | feat: Support custom name of `lua_module` | rise0chen | |
2022-04-14 | Refactor `AsChunk` trait. | Alex Orlenko | |
Remove blanket implementation for T: AsRef<[u8]> Implement for `std::path::Path` | |||
2021-12-28 | Fix clippy warnings | Alex Orlenko | |
2021-06-21 | Update `AsChunk::env` function prototype | Alex Orlenko | |
2021-06-13 | Improve module mode: | Alex Orlenko | |
- Don't hide module function inside `luaopen_%` function. - Raise Lua exception instead of panic if module function returns error. | |||
2021-05-06 | Fix clippy warnings | Alex Orlenko | |
2021-05-05 | Add chunk! macro support | Alex Orlenko | |
2020-06-07 | New `module` feature | Alex Orlenko | |
Don't link module with Lua core (see: http://lua-users.org/wiki/BuildingModules) Example and tests for modules | |||
2019-10-02 | Add mlua_derive proc macro module | Alex Orlenko | |