59 releases (39 breaking)

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 10523/week @ 2025-09-22 11715/week @ 2025-09-29 9933/week @ 2025-10-06 9485/week @ 2025-10-13 11257/week @ 2025-10-20 8916/week @ 2025-10-27 10874/week @ 2025-11-03 10992/week @ 2025-11-10 10690/week @ 2025-11-17 7929/week @ 2025-11-24 9429/week @ 2025-12-01 9981/week @ 2025-12-08 8918/week @ 2025-12-15 6761/week @ 2025-12-22 5844/week @ 2025-12-29 8653/week @ 2026-01-05

30,930 downloads per month
Used in 233 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