Crates.io | sandkiste |
lib.rs | sandkiste |
version | 0.3.0 |
source | src |
created_at | 2022-04-13 11:32:11.626585 |
updated_at | 2023-05-05 10:42:52.474902 |
description | Language independent scripting language sandbox API |
homepage | https://www.public-software-group.org/sandkiste |
repository | https://www.public-software-group.org/git/sandkiste.git |
max_upload_size | |
id | 566950 |
size | 48,623 |
sandkiste
provides an abstract API for the Rust programming language to allow
executing scripting language code snippets in a sandbox.
See contained LICENSE
file (MIT License).
MachineError
provides builder-style methods nowMachineError
by boxing all dataTypeMismatch
and DatumConversionFailure
replace
DatumViewError
and DatumConversionError
. The try_into_
and
try_as_
methods (e.g. try_into_string
) in the types
module
return TypeMismatch
as error type now, which is
Send + Sync + 'static
.MaybeFunction::from_function
(use From
instead)Nullable
types should also implement From<Option<T>>
where T: Into<Self>
MaybeFunction
and MaybeOpaque
traits
Borrow
as supertrait to MaybeFunction::FunctionRef
and
MaybeOpaque::OpaqueRef
TryInto
as supertrait to MaybeOpaque
and added methods
MaybeOpaque::try_into_opaque
and MaybeOpaque::is_opaque
with
default implementationsFrom<Self::Function>
as supertrait to MaybeFunction
MaybeFunction::from_function
in favor of using the
From
traitMaybeFunction::FunctionRef<'a>
and
MaybeOpaque::OpaqueRef<'a>
have been removed and must be provided
manually.