mlua

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

OTHER License

Stars
1.3K
Committers
25

Bot releases are hidden (Show)

mlua - v0.9.7 Latest Release

Published by khvzak 7 months ago

What's Changed

  • Implemented IntoLua for RegistryKey
  • Mark __idiv metamethod as available for Luau
  • Added Function::deep_clone() method (Luau)
  • Added SerializeOptions::detect_serde_json_arbitrary_precision option
  • Added Lua::create_buffer() method (Luau)
  • Support serializing buffer type as a byte slice (Luau)
  • Perf: Implemented push_into_stack/from_stack for Option<T>
  • Added Lua::create_ser_any_userdata() method

New Contributors

Full Changelog: https://github.com/mlua-rs/mlua/compare/v0.9.6...v0.9.7

mlua - v0.9.6

Published by khvzak 8 months ago

Changes:

  • Added to_pointer function to Function/Table/Thread
  • Implemented IntoLua for &Value
  • Implemented FromLua for RegistryKey
  • Faster (~5%) table array traversal during serialization
  • Some performance improvements for bool/int types

Full Changelog: https://github.com/mlua-rs/mlua/compare/v0.9.5...v0.9.6

mlua - v0.9.5

Published by khvzak 9 months ago

Changes:

  • Minimal Luau updated to 0.609
  • Luau max stack size increased to 1M (from 100K)
  • Implemented IntoLua for refs to String/Table/Function/AnyUserData/Thread + RegistryKey
  • Implemented IntoLua and FromLua for OwnedThread/OwnedString (unstable feature)
  • Fixed FromLua derive proc macro to cover more cases