wit-text

Crates.iowit-text
lib.rswit-text
version0.8.0
sourcesrc
created_at2019-12-02 23:01:54.006622
updated_at2020-07-14 18:09:42.094817
descriptionParser for the text format of WebAssembly Interface Types
homepage
repositoryhttps://github.com/bytecodealliance/wasm-interface-types
max_upload_size
id186032
size69,991
Alex Crichton (alexcrichton)

documentation

README

wit-text

A Bytecode Alliance project

A Rust crate to parse 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-text = "0.1.0"

You can then use the free-functions of this crate to parse a text file or in-memory string into the binary wasm representation. Note that compatibility is provided with the wast crate if you'd like to reuse the parser for other file formats as well.

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