#validator #validation #webassembly #wit


Validator for the WebAssembly Interface Types binary format

3 releases

✓ Uses Rust 2018 edition

0.1.2 Feb 27, 2020
0.1.1 Dec 3, 2019
0.1.0 Dec 2, 2019

#248 in WebAssembly

Download history 151/week @ 2019-12-02 221/week @ 2019-12-09 424/week @ 2019-12-16 450/week @ 2019-12-23 302/week @ 2019-12-30 712/week @ 2020-01-06 587/week @ 2020-01-13 712/week @ 2020-01-20 394/week @ 2020-01-27 482/week @ 2020-02-03 516/week @ 2020-02-10 575/week @ 2020-02-17 990/week @ 2020-02-24 1133/week @ 2020-03-02 433/week @ 2020-03-09 497/week @ 2020-03-16

2,261 downloads per month
Used in 2 crates

Apache-2.0 WITH LLVM-exception

968 lines


A Bytecode Alliance project

A Rust crate to validate 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-validator = "0.1.0"

This crate currently only provides the functionality to validate a WebAssembly Interface Types custom section, and it must also be given the full wasm module. This is moreso meant to be a sort of reference validator rather than one ready to integrate elsewhere, since it doesn't actually expose any results of typechecking, it just validates that the interface types section, if present, is valid.


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.


~11K SLoC