rustc/vendor/wasmparser-0.219.1
2025-01-11 15:57:26 +01:00
..
benches New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
examples New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
src New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
tests New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
.cargo-checksum.json New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
Cargo.lock New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
Cargo.toml New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
README.md New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00

wasmparser: A WebAssembly Binary Parser

A Bytecode Alliance project

crates.io link docs.rs docs

A simple, event-driven library for parsing WebAssembly binary files (or streams).

The library reports events as they happen and only stores parsing information for a brief period of time, making it fast and memory-efficient. The event-driven model, however, has some drawbacks. If you need random access to the entire WebAssembly data-structure, this is not the right library for you. You could however, build such a data-structure using this library.

To get started, create a Parser using Parser::new and then follow the examples documented for Parser::parse or Parser::parse_all.

Documentation

Documentation and examples can be found at https://docs.rs/wasmparser/