5 releases (3 breaking)

✓ Uses Rust 2018 edition

0.4.0 Jan 14, 2020
0.3.0 Jan 8, 2020
0.2.0 Dec 9, 2019
0.1.1 Dec 4, 2019
0.1.0 Dec 2, 2019
Download history 136/week @ 2019-12-02 243/week @ 2019-12-09 427/week @ 2019-12-16 451/week @ 2019-12-23 302/week @ 2019-12-30 727/week @ 2020-01-06 591/week @ 2020-01-13

823 downloads per month
Used in 2 crates

Apache-2.0 WITH LLVM-exception

1.5K SLoC


A Bytecode Alliance project

A Rust crate to parse the WebAssembly Interface Types textual 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-text = "0.1.0"

You can then use the free-functions of this crate to parse a text file or in-memory string into the binary wasm representation. Note that compatibility is provided with the wast crate if you'd like to reuse the parser for other file formats as well.


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.