wit-validator

Crates.iowit-validator
lib.rswit-validator
version0.2.1
sourcesrc
created_at2019-12-02 23:05:02.647306
updated_at2020-07-14 18:10:52.120138
descriptionValidator for the WebAssembly Interface Types binary format.
homepage
repositoryhttps://github.com/bytecodealliance/wasm-interface-types
max_upload_size
id186033
size35,441
Alex Crichton (alexcrichton)

documentation

README

wit-validator

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.

Usage

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

[dependencies]
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.

License

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

Contribution

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.

Commit count: 134

cargo fmt