8 unstable releases (3 breaking)
0.3.0 | May 5, 2023 |
---|---|
0.2.0 | Mar 26, 2023 |
0.1.0 | Mar 20, 2023 |
0.0.5 | Nov 26, 2022 |
0.0.2 | Apr 16, 2022 |
#296 in Programming languages
Used in sandkiste_lua
48KB
802 lines
sandkiste
sandkiste
provides an abstract API for the Rust programming language to allow
executing scripting language code snippets in a sandbox.
License
See contained LICENSE
file (MIT License).
Changelog
- 2023-05-05: Version 0.3.0
MachineError
provides builder-style methods now- Reduced size of
MachineError
by boxing all data - Minor code cleanup
- 2023-03-26: Version 0.2.0
- Error types
TypeMismatch
andDatumConversionFailure
replaceDatumViewError
andDatumConversionError
. Thetry_into_
andtry_as_
methods (e.g.try_into_string
) in thetypes
module returnTypeMismatch
as error type now, which isSend + Sync + 'static
.
- Error types
- 2023-03-20: Version 0.1.0
- Removed deprecated
MaybeFunction::from_function
(useFrom
instead) - Documented that
Nullable
types should also implementFrom<Option<T>>
whereT: Into<Self>
- Removed deprecated
- 2022-11-26: Version 0.0.5
- Further changes to
MaybeFunction
andMaybeOpaque
traits- Added
Borrow
as supertrait toMaybeFunction::FunctionRef
andMaybeOpaque::OpaqueRef
- Added
TryInto
as supertrait toMaybeOpaque
and added methodsMaybeOpaque::try_into_opaque
andMaybeOpaque::is_opaque
with default implementations
- Added
- Further changes to
- 2022-11-25: Version 0.0.4
- Added
From<Self::Function>
as supertrait toMaybeFunction
- Deprecated method
MaybeFunction::from_function
in favor of using theFrom
trait - Minor documentation fix
- Added
- 2022-11-24: Version 0.0.3
- Usage of experimental compiler features has been removed.
- GATs are stable since Rust 1.65.
- Defaults for
MaybeFunction::FunctionRef<'a>
andMaybeOpaque::OpaqueRef<'a>
have been removed and must be provided manually.
- Usage of experimental compiler features has been removed.
- 2022-04-16: Version 0.0.2
- Improved documentation comments
- 2022-04-13: Version 0.0.1
- First release