34 breaking releases
0.36.0 | Nov 27, 2024 |
---|---|
0.34.0 | Oct 8, 2024 |
0.28.0 | Jul 16, 2024 |
0.23.0 | Mar 27, 2024 |
0.0.0 | Nov 16, 2021 |
#241 in WebAssembly
127,012 downloads per month
Used in 73 crates
(41 directly)
55KB
457 lines
wit-bindgen
Guest Rust language bindings generator for WIT and the Component Model
A Bytecode Alliance project
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.
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.
Dependencies
~0–1.3MB
~24K SLoC