Sha256: aabf3b5930893b2a89d0114d8cd97e9b980f3c6f758b960484e06b69a504b823

Contents?: true

Size: 1.32 KB

Versions: 18

Compression:

Stored size: 1.32 KB

Contents

# `wasmparser`: A WebAssembly Binary Parser

**A [Bytecode Alliance](https://bytecodealliance.org/) project**

[![crates.io link](https://img.shields.io/crates/v/wasmparser.svg)](https://crates.io/crates/wasmparser)
[![docs.rs docs](https://img.shields.io/static/v1?label=docs&message=wasmparser&color=blue&style=flat-square)](https://docs.rs/wasmparser/)

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`](https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html)
using
[`Parser::new`](https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html#method.new)
and then follow the examples documented for
[`Parser::parse`](https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html#method.parse)
or
[`Parser::parse_all`](https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html#method.parse_all).

## Documentation

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

Version data entries

18 entries across 14 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wasmparser-0.221.2/README.md
wasmtime-29.0.0 ./ext/cargo-vendor/wasmparser-0.224.0/README.md
wasmtime-28.0.0 ./ext/cargo-vendor/wasmparser-0.223.0/README.md
wasmtime-28.0.0 ./ext/cargo-vendor/wasmparser-0.221.2/README.md
wasmtime-27.0.0 ./ext/cargo-vendor/wasmparser-0.220.0/README.md
wasmtime-27.0.0 ./ext/cargo-vendor/wasmparser-0.219.1/README.md
wasmtime-26.0.0 ./ext/cargo-vendor/wasmparser-0.218.0/README.md
wasmtime-26.0.0 ./ext/cargo-vendor/wasmparser-0.219.1/README.md
wasmtime-25.0.2 ./ext/cargo-vendor/wasmparser-0.217.0/README.md
wasmtime-25.0.1 ./ext/cargo-vendor/wasmparser-0.217.0/README.md
wasmtime-25.0.0 ./ext/cargo-vendor/wasmparser-0.217.0/README.md
wasmtime-24.0.0 ./ext/cargo-vendor/wasmparser-0.215.0/README.md
wasmtime-23.0.2 ./ext/cargo-vendor/wasmparser-0.212.0/README.md
wasmtime-22.0.0 ./ext/cargo-vendor/wasmparser-0.209.1/README.md
wasmtime-21.0.1 ./ext/cargo-vendor/wasmparser-0.207.0/README.md
wasmtime-20.0.2 ./ext/cargo-vendor/wasmparser-0.202.0/README.md
wasmtime-20.0.0 ./ext/cargo-vendor/wasmparser-0.202.0/README.md
wasmtime-18.0.3 ./ext/cargo-vendor/wasmparser-0.121.2/README.md