wit-component

WebAssembly component tooling based on the component model proposal and wit-bindgen.

A Bytecode Alliance project

build status supported rustc stable

# `wit-component` `wit-component` is a crate and a set of CLI tools for creating and interacting with WebAssembly components based on the [component model proposal](https://github.com/WebAssembly/component-model/). ## Tools * `wit-component` - creates a WebAssembly component from a core WebAssembly module and a set of `.wit` files representing the component's imported and exported interfaces. * `wit2wasm` - encodes an interface definition (in `wit`) as an "interface-only" WebAssembly component. A `.wasm` component file will be generated that stores a full description of the original interface. * `wasm2wit` - decodes an "interface-only" WebAssembly component to an interface definition (in `wit`). A `.wit` file will be generated that represents the interface described by the component.