53 releases (33 breaking)

0.41.0 Jan 7, 2025
0.40.1 Sep 25, 2024
0.40.0 Jul 18, 2024
0.35.0 Mar 18, 2024
0.8.0-alpha.5 Mar 24, 2020

#27 in #substrate

Download history 35460/week @ 2024-10-30 39853/week @ 2024-11-06 55297/week @ 2024-11-13 52926/week @ 2024-11-20 52701/week @ 2024-11-27 56702/week @ 2024-12-04 50860/week @ 2024-12-11 39321/week @ 2024-12-18 14216/week @ 2024-12-25 39172/week @ 2025-01-01 49330/week @ 2025-01-08 70614/week @ 2025-01-15 59957/week @ 2025-01-22 53395/week @ 2025-01-29 56736/week @ 2025-02-05 63584/week @ 2025-02-12

243,512 downloads per month
Used in 193 crates (25 directly)

GPL-3.0-or-later…

2.5MB
20K 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

Release

Polkadot SDK Stable 2412


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

~58MB
~1M SLoC