#writer #webassembly #wit


Binary encoder for the WebAssembly Interface Types format

2 unstable releases

✓ Uses Rust 2018 edition

new 0.2.0 May 18, 2020
0.1.0 Dec 2, 2019
Download history 422/week @ 2020-01-25 416/week @ 2020-02-01 509/week @ 2020-02-08 556/week @ 2020-02-15 770/week @ 2020-02-22 1246/week @ 2020-02-29 358/week @ 2020-03-07 459/week @ 2020-03-14 557/week @ 2020-03-21 378/week @ 2020-03-28 559/week @ 2020-04-04 774/week @ 2020-04-11 749/week @ 2020-04-18 837/week @ 2020-04-25 563/week @ 2020-05-02 504/week @ 2020-05-09

2,753 downloads per month
Used in 4 crates (2 directly)

Apache-2.0 WITH LLVM-exception

314 lines


A Bytecode Alliance project

A Rust crate to emit 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-writer = "0.1.0"

You'll then want to use the Writer type to emit the binary WebAssembly interface types section. You'll likely want to combine this with a different encoder crate to emit the full wasm module, since this crate only has utilities to emit the WebAssembly Interface Types custom section.


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.