Crates.io | wasmparser |
lib.rs | wasmparser |
version | |
source | src |
created_at | 2017-06-02 16:58:49.610864 |
updated_at | 2024-12-02 22:48:12.527828 |
description | A simple event-driven library for parsing WebAssembly binary files. |
homepage | https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser |
repository | https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser |
max_upload_size | |
id | 17354 |
Cargo.toml error: | TOML parse error at line 20, column 1 | 20 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
wasmparser
: A WebAssembly Binary ParserA Bytecode Alliance project
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 and examples can be found at https://docs.rs/wasmparser/