#parser #webassembly #parse #binary #wit


Parser for the WebAssembly Interface Types binary format

3 unstable releases

0.2.0 May 18, 2020
0.1.1 Jan 8, 2020
0.1.0 Dec 2, 2019
Download history 689/week @ 2020-05-01 521/week @ 2020-05-08 636/week @ 2020-05-15 697/week @ 2020-05-22 979/week @ 2020-05-29 718/week @ 2020-06-05 577/week @ 2020-06-12 786/week @ 2020-06-19 795/week @ 2020-06-26 821/week @ 2020-07-03 953/week @ 2020-07-10 797/week @ 2020-07-17 904/week @ 2020-07-24 753/week @ 2020-07-31 603/week @ 2020-08-07 606/week @ 2020-08-14

2,795 downloads per month
Used in 7 crates (3 directly)

Apache-2.0 WITH LLVM-exception

478 lines


A Bytecode Alliance project

A Rust crate to parse the WebAssembly Interface Types binary format.

Crates.io version Download docs.rs docs

Note: WebAssembly Interface Types are experimental and subject to a good deal of change. It's not recommended to rely on this if you're not comfortable with some breakage.


First you'll want to add this crate to your Cargo.toml:

wit-parser = "0.1.0"

You'll likely want to pair this with the wasmparser crate to parse a full WebAssembly file. This crate only contains the ability to parse the contents of the binary WebAssembly Interface Types section.

You should be able to get started with a Parser and parsing sections of the binary format. You can find more about the binary format in some documentation.


This project is licensed under the Apache 2.0 license with the LLVM exception. See LICENSE for more details.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.