Registry / other / parity-wasm

parity-wasm

JSON →
library0.45.0rscratesunverified

WebAssembly low-level format library.

# Cargo.toml [dependencies] parity-wasm = "0.45.0"
INSTALL
IMPORT
SIG · PARITY-WASM
P
parity-wasm
otherrustv0.45.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 parity_wasm::elements::Module;

Parse a WebAssembly binary into a Module structure.

use parity_wasm::elements::Module; use std::fs; let wasm_bytes = fs::read("module.wasm").unwrap(); let module = Module::from_bytes(&wasm_bytes).unwrap(); println!("Module has {} functions", module.functions().len());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.45.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
parity-wasm — cargo add parity-wasm · libregistry