wasmparser

Crates.iowasmparser
lib.rswasmparser
version0.207.0
sourcesrc
created_at2017-06-02 16:58:49.610864
updated_at2024-05-07 22:54:39.07773
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,056,653
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: 2518

cargo fmt