45 releases (25 breaking)

0.33.0 Apr 8, 2024
0.32.0 Mar 18, 2024
0.31.0 Feb 26, 2024
0.28.0 Dec 12, 2023
0.8.0-alpha.5 Mar 24, 2020

#565 in Magic Beans

Download history 1518/week @ 2024-01-24 1123/week @ 2024-01-31 2265/week @ 2024-02-07 2658/week @ 2024-02-14 3336/week @ 2024-02-21 2562/week @ 2024-02-28 2342/week @ 2024-03-06 2236/week @ 2024-03-13 2966/week @ 2024-03-20 2934/week @ 2024-03-27 2929/week @ 2024-04-03 2637/week @ 2024-04-10 2365/week @ 2024-04-17 2464/week @ 2024-04-24 2776/week @ 2024-05-01 1777/week @ 2024-05-08

9,803 downloads per month
Used in 135 crates (3 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


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

~39–52MB
~1M SLoC