Registry / other / wasmi
library1.1.0rscratesunverified

A WebAssembly interpreter with a focus on correctness and simplicity.

# Cargo.toml [dependencies] wasmi = "1.1.0"
INSTALL
IMPORT
SIG · WASMI
W
wasmi
otherrustv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Module
✓ use wasmi::Module;

Parses a WAT string into a wasmi Module.

use wasmi::Module; let wasm_bytes = wat::parse_str("(module (func (export \"add\") (param i32 i32) (result i32) local.get 0 local.get 1 i32.add))").unwrap(); let module = Module::new(&wasm_bytes).unwrap(); println!("Module loaded");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources