55 breaking releases
Uses new Rust 2024
| new 0.57.1 | Apr 17, 2026 |
|---|---|
| 0.56.0 | Apr 14, 2026 |
| 0.54.0 | Mar 16, 2026 |
| 0.50.0 | Dec 23, 2025 |
| 0.0.0 | Nov 16, 2021 |
#5 in WebAssembly
15,902,766 downloads per month
Used in 56,859 crates
(151 directly)
225KB
3K
SLoC
Contains (static library, 1KB) src/rt/libwit_bindgen_cabi.a
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.2MB
~24K SLoC