Registry / other / wat
library1.243.0rscratesunverified

Rust parser for the WebAssembly Text format, WAT.

# Cargo.toml [dependencies] wat = "1.243.0"
INSTALL
IMPORT
SIG · WAT
W
wat
otherrustv1.243.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.

parse_str
use wat::parse_str;

Parses a WAT string into Wasm bytes.

use wat::parse_str; fn main() -> Result<(), Box<dyn std::error::Error>> { let wasm = parse_str("(module)")?; println!("Parsed {} bytes of Wasm", wasm.len()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.243.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
wat — cargo add wat · libregistry