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

#272 in Programming languages

Download history 3/week @ 2024-03-12 1/week @ 2024-03-26 11/week @ 2024-04-02 2/week @ 2024-05-28

53 downloads per month
Used in sandkiste_lua

MIT license

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 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.
  • 2023-03-20: Version 0.1.0
    • Removed deprecated MaybeFunction::from_function (use From instead)
    • Documented that Nullable types should also implement From<Option<T>> where T: Into<Self>
  • 2022-11-26: Version 0.0.5
    • Further changes to MaybeFunction and MaybeOpaque traits
      • Added Borrow as supertrait to MaybeFunction::FunctionRef and MaybeOpaque::OpaqueRef
      • Added TryInto as supertrait to MaybeOpaque and added methods MaybeOpaque::try_into_opaque and MaybeOpaque::is_opaque with default implementations
  • 2022-11-25: Version 0.0.4
    • Added From<Self::Function> as supertrait to MaybeFunction
    • Deprecated method MaybeFunction::from_function in favor of using the From trait
    • Minor documentation fix
  • 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> and MaybeOpaque::OpaqueRef<'a> have been removed and must be provided manually.
  • 2022-04-16: Version 0.0.2
    • Improved documentation comments
  • 2022-04-13: Version 0.0.1
    • First release

No runtime deps