266 releases (164 breaking)

0.243.0 Dec 3, 2025
0.242.0 Nov 26, 2025
0.241.2 Nov 14, 2025
0.236.0 Jul 28, 2025
0.7.2 Jul 7, 2017

#20 in WebAssembly

Download history 596083/week @ 2025-08-19 675297/week @ 2025-08-26 634172/week @ 2025-09-02 632757/week @ 2025-09-09 613619/week @ 2025-09-16 603047/week @ 2025-09-23 636338/week @ 2025-09-30 614827/week @ 2025-10-07 636128/week @ 2025-10-14 791557/week @ 2025-10-21 803323/week @ 2025-10-28 842740/week @ 2025-11-04 780403/week @ 2025-11-11 898343/week @ 2025-11-18 678768/week @ 2025-11-25 672889/week @ 2025-12-02

3,164,638 downloads per month
Used in 1,893 crates (257 directly)

Apache-2.0…

1.5MB
29K SLoC

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/

Dependencies

~0.2–0.9MB
~17K SLoC