wit-bindgen

Guest Rust language bindings generator for WIT and the Component Model

A Bytecode Alliance project

supported rustc stable Documentation Status

# About This crate provides a macro, [`generate!`], to automatically generate Rust bindings for a [WIT] [world]. For more information about this crate see the [online documentation] which includes some examples and longer form reference documentation as well. This crate is developed as a portion of the [`wit-bindgen` repository] which also contains a CLI and generators for other languages. [`generate!`]: https://docs.rs/wit-bindgen/latest/wit_bindgen/macro.generate.html [WIT]: https://component-model.bytecodealliance.org/design/wit.html [world]: https://component-model.bytecodealliance.org/design/worlds.html [online documentation]: https://docs.rs/wit-bindgen [`wit-bindgen` repository]: https://github.com/bytecodealliance/wit-bindgen # License This project is licensed under the Apache 2.0 license with the LLVM exception. See [LICENSE](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.