Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-05-05 | 1.1 kB | |
v0.10.4 source code.tar.gz | 2025-05-05 | 246.9 kB | |
v0.10.4 source code.zip | 2025-05-05 | 327.6 kB | |
Totals: 3 Items | 575.6 kB | 1 |
What's Changed
- Luau updated to 0.672
- New serde option
encode_empty_tables_as_array
to serialize empty tables as array - Added
WeakLua
andLua::weak()
to create weak references to Lua state - Trigger abort when Luau userdata destructors are panicing (Luau GC does not support it)
- Added
AnyUserData::type_id()
method to get the type id of the userdata - Added
Chunk::name()
,Chunk::environment()
andChunk::mode()
functions - Support borrowing underlying wrapped types for
UserDataRef
andUserDataRefMut
(underuserdata-wrappers
feature) - Added large (52bit) integers support for Luau
- Enable
serde
forbstr
ifserialize
feature flag is enabled - Recursive warnings (Lua 5.4) are no longer allowed
- Implemented
IntoLua
/FromLua
forBorrowedString
andBorrowedBytes
- Implemented
IntoLua
/FromLua
forchar
- Enable
Thread::reset()
for all Lua versions (limited support for 5.1-5.3) - Bugfixes and improvements
Full Changelog: https://github.com/mlua-rs/mlua/compare/v0.10.3...v0.10.4