sandkiste_lua
Sandboxing Lua scripts for the sandkiste API
Building
Building this crate currently depends on the pkg-config binary being
installed on your system.
License
See contained LICENSE file (MIT License).
Changelog
- 2023-05-05: Version 0.4.0
- Use
sandkisteversion 0.3.0
- Use
- 2023-05-05: Version 0.3.1
- Fixed
LuaFunction::callandLuaMachine::callbackto properly handle wrongly reported length byExactSizeIterator
- Fixed
- 2023-03-26: Version 0.3.0
- Use
sandkisteversion 0.2.0
- Use
- 2023-03-20: Version 0.2.0
- Force abort on panic to fix soundness issue when calling or dropping
closure passed to
Sandkiste::Callback::callback - Use
sandkisteversion 0.1.0
- Force abort on panic to fix soundness issue when calling or dropping
closure passed to
- 2023-03-11: Version 0.1.0
- Added conversion from
OptionintoLuaDatum(viaFromtrait) - Use
bindgenversion 0.63 - Code cleanup
- Added conversion from
- 2022-11-26: Version 0.0.7
- Use
sandkisteversion 0.0.5
- Use
- 2022-11-25: Version 0.0.6
- Use
sandkisteversion 0.0.4 - Minor fixes in internal comments
- Use
- 2022-11-24: Version 0.0.5
- Use
sandkisteversion 0.0.3 - Experimental compiler features are no longer used
- Improved error message when using
Lua5_3andLua5_4feature at the same time
- Use
- 2022-06-21: Version 0.0.4
- Fixed soundness issue regarding argument iterators (
LuaFunction::callandLuaMachine::callbackrelied onExactSizeIterator::lenreturning the correct length, which has been fixed) - Removed unnecessary
vec![]in example and tests (assandkiste::Function::callis generic in regard to how a list of arguments is provided)
- Fixed soundness issue regarding argument iterators (
- 2022-05-03: Version 0.0.3
- Fixed build error on nightly Rust by importing
core::ffi::{c_int, c_size_t}for now instead of usingstd::ffi(see commit07ea143f96in Rust for explanation)
- Fixed build error on nightly Rust by importing
- 2022-04-17: Version 0.0.2
- Fixed wrong calculation of used memory in custom allocator
- Fixed error handling when pushing closures to the Lua machine
(when invoking
lua_pcallincmach_lua_pushclosure, a wrong stack index was provided for the error handler) - Added documentation
- Allow usage of deprecated
bit32module when using Lua 5.3 (was previously stripped when sealing the standard library) - Export previously private module
cmachto allow unsafe access to Lua - Avoid an unnecessary reallocation in C function
cmach_lua_errmsgh - Fixed wrong comments in
cmach_lua_getglobal
- 2022-04-14: Version 0.0.1