wit-walrus

Crates.iowit-walrus
lib.rswit-walrus
version0.6.0
sourcesrc
created_at2019-12-02 23:06:54.997381
updated_at2021-04-15 21:59:54.118296
descriptionExtension for the `walrus` crate to work with WebAssembly interface types.
homepage
repositoryhttps://github.com/bytecodealliance/wasm-interface-types
max_upload_size
id186034
size45,647
Alex Crichton (alexcrichton)

documentation

README

wit-walrus

A Bytecode Alliance project

A Rust crate integrate WebAssembly Interface Types with the walrus crate.

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-walrus = "0.1.0"

You'll then want to register the on_parse function in this crate when parsing a wasm blob into a walrus module. Afterwards you can extract the WasmInterfaceTypes custom section and you should be good to go!

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