59 releases (39 breaking)

new 0.47.0 Dec 18, 2025
0.45.0 Oct 2, 2025
0.43.0 Jul 14, 2025
0.41.0 Jan 7, 2025
0.8.0-alpha.5 Mar 24, 2020

#2 in #externalities

Download history 18404/week @ 2025-08-27 12431/week @ 2025-09-03 9951/week @ 2025-09-10 9715/week @ 2025-09-17 11424/week @ 2025-09-24 10776/week @ 2025-10-01 9275/week @ 2025-10-08 10483/week @ 2025-10-15 10556/week @ 2025-10-22 8648/week @ 2025-10-29 12047/week @ 2025-11-05 9369/week @ 2025-11-12 10758/week @ 2025-11-19 8163/week @ 2025-11-26 9498/week @ 2025-12-03 8525/week @ 2025-12-10

38,498 downloads per month
Used in 229 crates (28 directly)

GPL-3.0-or-later…

2.5MB
22K SLoC

Rust 19K 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

Dependencies

~58–78MB
~1.5M SLoC