wasmparser

Crates.iowasmparser
lib.rswasmparser
version0.219.1
sourcesrc
created_at2017-06-02 16:58:49.610864
updated_at2024-10-10 15:48:20.683799
descriptionA simple event-driven library for parsing WebAssembly binary files.
homepagehttps://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser
repositoryhttps://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser
max_upload_size
id17354
size1,304,945
wasmtime-publish (github:bytecodealliance:wasmtime-publish)

documentation

README

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/

Commit count: 2765

cargo fmt