#printer #printing #webassembly #wit

wit-printer

Textual printer for the WebAssembly Interface Types binary format

1 unstable release

✓ Uses Rust 2018 edition

0.1.0 Dec 2, 2019
Download history 57/week @ 2019-12-02 56/week @ 2019-12-09 55/week @ 2019-12-16 23/week @ 2019-12-23 25/week @ 2019-12-30 80/week @ 2020-01-06 49/week @ 2020-01-13 65/week @ 2020-01-20 17/week @ 2020-01-27 77/week @ 2020-02-03 81/week @ 2020-02-10 96/week @ 2020-02-17 147/week @ 2020-02-24 229/week @ 2020-03-02 61/week @ 2020-03-09 57/week @ 2020-03-16

61 downloads per month
Used in wasm-bindgen-cli

Apache-2.0 WITH LLVM-exception

34KB
669 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

~550KB
~12K SLoC