Crates.io | sandkiste_lua |
lib.rs | sandkiste_lua |
version | 0.4.0 |
source | src |
created_at | 2022-04-13 11:54:38.391441 |
updated_at | 2023-05-05 10:49:09.815956 |
description | Sandbox for Lua scripts |
homepage | https://www.public-software-group.org/sandkiste |
repository | https://www.public-software-group.org/git/sandkiste_lua.git |
max_upload_size | |
id | 566959 |
size | 84,920 |
Sandboxing Lua scripts for the sandkiste
API
Building this crate currently depends on the pkg-config
binary being
installed on your system.
See contained LICENSE
file (MIT License).
sandkiste
version 0.3.0LuaFunction::call
and LuaMachine::callback
to properly handle
wrongly reported length by ExactSizeIterator
sandkiste
version 0.2.0Sandkiste::Callback::callback
sandkiste
version 0.1.0Option
into LuaDatum
(via From
trait)bindgen
version 0.63sandkiste
version 0.0.5sandkiste
version 0.0.4sandkiste
version 0.0.3Lua5_3
and Lua5_4
feature at the
same timeLuaFunction::call
and LuaMachine::callback
relied on ExactSizeIterator::len
returning
the correct length, which has been fixed)vec![]
in example and tests (as
sandkiste::Function::call
is generic in regard to how a list of
arguments is provided)core::ffi::{c_int, c_size_t}
for now instead of using
std::ffi
(see
commit 07ea143f96
in Rust
for explanation)lua_pcall
in cmach_lua_pushclosure
, a wrong stack
index was provided for the error handler)bit32
module when using Lua 5.3 (was
previously stripped when sealing the standard library)cmach
to allow unsafe access to Luacmach_lua_errmsgh
cmach_lua_getglobal