Registry / other / wasm-encoder

wasm-encoder

JSON →
library0.251.0rscratesunverified

A low-level WebAssembly encoder for constructing Wasm modules.

# Cargo.toml [dependencies] wasm-encoder = "0.251.0"
INSTALL
IMPORT
SIG · WASM-ENCODER
W
wasm-encoder
otherrustv0.251.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 wasm_encoder::Module;

Minimal example creating an empty WebAssembly module.

use wasm_encoder::Module; fn main() { let mut module = Module::new(); // Add sections to the module let wasm_bytes = module.finish(); println!("Generated {} bytes of Wasm", wasm_bytes.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.251.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
wasm-encoder — cargo add wasm-encoder · libregistry