49 releases (28 breaking)

0.36.0 Jan 7, 2025
0.35.0 Jun 21, 2024
0.34.0 May 23, 2024
0.32.0 Mar 18, 2024
0.8.0-alpha.5 Mar 24, 2020

#38 in #defines

Download history 35407/week @ 2024-10-30 39802/week @ 2024-11-06 55247/week @ 2024-11-13 52872/week @ 2024-11-20 52523/week @ 2024-11-27 55914/week @ 2024-12-04 50018/week @ 2024-12-11 38765/week @ 2024-12-18 13981/week @ 2024-12-25 38563/week @ 2025-01-01 48834/week @ 2025-01-08 70351/week @ 2025-01-15 59807/week @ 2025-01-22 53315/week @ 2025-01-29 56520/week @ 2025-02-05 63321/week @ 2025-02-12

242,792 downloads per month
Used in 174 crates (4 directly)

GPL-3.0-or-later…

390KB
5.5K SLoC

Rust 3.5K SLoC // 0.1% comments WebAssembly 2.5K SLoC // 0.0% comments

License: GPL-3.0-or-later WITH Classpath-exception-2.0

Release

Polkadot SDK Stable 2412


lib.rs:

Defines a WasmRuntime that uses the Wasmtime JIT to execute.

You can choose a profiling strategy at runtime with environment variable WASMTIME_PROFILING_STRATEGY:

WASMTIME_PROFILING_STRATEGY Effect
undefined No profiling
"jitdump" jitdump profiling
other value No profiling (warning)

Dependencies

~58MB
~1M SLoC