49 releases (30 breaking)

new 0.38.0 May 23, 2024
0.36.0 Apr 8, 2024
0.35.0 Mar 18, 2024
0.31.0 Dec 12, 2023
0.8.0-alpha.5 Mar 24, 2020

#1170 in Magic Beans

Download history 1171/week @ 2024-01-31 2281/week @ 2024-02-07 2663/week @ 2024-02-14 3253/week @ 2024-02-21 2709/week @ 2024-02-28 2466/week @ 2024-03-06 2377/week @ 2024-03-13 3047/week @ 2024-03-20 3017/week @ 2024-03-27 2997/week @ 2024-04-03 2686/week @ 2024-04-10 2412/week @ 2024-04-17 2651/week @ 2024-04-24 3026/week @ 2024-05-01 2372/week @ 2024-05-08 2167/week @ 2024-05-15

10,663 downloads per month
Used in 154 crates (19 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

~54MB
~1M SLoC