wit-writer

Crates.iowit-writer
lib.rswit-writer
version0.2.0
sourcesrc
created_at2019-12-02 23:01:43.627675
updated_at2020-05-18 13:21:24.400039
descriptionBinary encoder for the WebAssembly Interface Types format
homepage
repositoryhttps://github.com/bytecodealliance/wasm-interface-types
max_upload_size
id186031
size27,109
Alex Crichton (alexcrichton)

documentation

README

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.

Commit count: 134

cargo fmt