#component-model #wasm-interface #bindings-generator #wasm-component #wasm-bindings #wit #run-time

wit-bindgen

Rust bindings generator and runtime support for WIT and the component model. Used when compiling Rust programs to the component model

37 breaking releases

0.39.0 Feb 5, 2025
0.37.0 Jan 10, 2025
0.36.0 Nov 27, 2024
0.28.0 Jul 16, 2024
0.0.0 Nov 16, 2021

#399 in WebAssembly

Download history 30187/week @ 2024-10-30 27299/week @ 2024-11-06 24845/week @ 2024-11-13 33100/week @ 2024-11-20 29174/week @ 2024-11-27 31729/week @ 2024-12-04 31379/week @ 2024-12-11 25098/week @ 2024-12-18 16006/week @ 2024-12-25 22052/week @ 2025-01-01 42873/week @ 2025-01-08 33678/week @ 2025-01-15 42687/week @ 2025-01-22 38681/week @ 2025-01-29 49373/week @ 2025-02-05 27615/week @ 2025-02-12

165,558 downloads per month
Used in 87 crates (50 directly)

Apache-2.0…

100KB
1.5K SLoC

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.

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.7MB
~30K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy