2 unstable releases

0.2.0 May 18, 2020
0.1.0 Dec 2, 2019

#8 in #you-re

Download history 701/week @ 2024-05-22 796/week @ 2024-05-29 751/week @ 2024-06-05 779/week @ 2024-06-12 807/week @ 2024-06-19 910/week @ 2024-06-26 579/week @ 2024-07-03 834/week @ 2024-07-10 822/week @ 2024-07-17 754/week @ 2024-07-24 692/week @ 2024-07-31 731/week @ 2024-08-07 721/week @ 2024-08-14 706/week @ 2024-08-21 646/week @ 2024-08-28 468/week @ 2024-09-04

2,695 downloads per month
Used in 2 crates

Apache-2.0 WITH LLVM-exception

17KB
314 lines

wit-writer

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.

Usage

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

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

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

~25KB