47 releases (28 breaking)

0.36.0 Apr 8, 2024
0.35.0 Mar 18, 2024
0.34.0 Feb 26, 2024
0.31.0 Dec 12, 2023
0.8.0-alpha.5 Mar 24, 2020

#1156 in Magic Beans

Download history 971/week @ 2023-12-22 1170/week @ 2023-12-29 1880/week @ 2024-01-05 2095/week @ 2024-01-12 1869/week @ 2024-01-19 1437/week @ 2024-01-26 1228/week @ 2024-02-02 2521/week @ 2024-02-09 2943/week @ 2024-02-16 3105/week @ 2024-02-23 2284/week @ 2024-03-01 2630/week @ 2024-03-08 2687/week @ 2024-03-15 2991/week @ 2024-03-22 3235/week @ 2024-03-29 2627/week @ 2024-04-05

11,858 downloads per month
Used in 147 crates (18 directly)

GPL-3.0-or-later…

2.5MB
19K SLoC

Rust 17K SLoC // 0.1% comments WebAssembly 2.5K SLoC // 0.0% comments Shell 9 SLoC

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

License: GPL-3.0-or-later WITH Classpath-exception-2.0


lib.rs:

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

Dependencies

~41–57MB
~1M SLoC