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

#542 in Magic Beans

Download history 27440/week @ 2024-09-27 34916/week @ 2024-10-04 32913/week @ 2024-10-11 36950/week @ 2024-10-18 31913/week @ 2024-10-25 38817/week @ 2024-11-01 44675/week @ 2024-11-08 55419/week @ 2024-11-15 53344/week @ 2024-11-22 50871/week @ 2024-11-29 58893/week @ 2024-12-06 53674/week @ 2024-12-13 18373/week @ 2024-12-20 20391/week @ 2024-12-27 45550/week @ 2025-01-03 49154/week @ 2025-01-10

141,305 downloads per month
Used in 187 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

~59MB
~1M SLoC