#wasm-interface #textual #type #format #printing #binary #binary-format

wit-printer

Textual printer for the WebAssembly Interface Types binary format

2 unstable releases

0.2.0 May 18, 2020
0.1.0 Dec 2, 2019

#15 in #textual

28 downloads per month

Apache-2.0 WITH LLVM-exception

15KB
196 lines

wit-printer

A Bytecode Alliance project

A Rust crate to print 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.

Usage

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

[dependencies]
wit-printer = "0.1.0"

You can then use the free-functions of this crate to print a full wasm file to its textual representation.

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.

Dependencies

~3MB
~52K SLoC