51 releases (32 breaking)

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

#1246 in Magic Beans

Download history 3115/week @ 2024-03-28 3049/week @ 2024-04-04 2588/week @ 2024-04-11 2435/week @ 2024-04-18 3043/week @ 2024-04-25 2644/week @ 2024-05-02 2356/week @ 2024-05-09 2733/week @ 2024-05-16 3552/week @ 2024-05-23 3693/week @ 2024-05-30 2825/week @ 2024-06-06 2455/week @ 2024-06-13 3948/week @ 2024-06-20 2268/week @ 2024-06-27 1852/week @ 2024-07-04 2950/week @ 2024-07-11

11,270 downloads per month
Used in 161 crates (21 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