Sunbeam Studios

Our open-source projects, here for you!

wit-bindgen (0.51.0)

Published 2026-03-26 11:06:39 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add wit-bindgen@0.51.0

About this package

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

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

ID Version
alloc ^1.0
bitflags ^2.3.3
core ^1.0
futures ^0.3.30
wit-bindgen-rust-macro ^0.51.0
Details
Cargo
2026-03-26 11:06:39 +00:00
0
Alex Crichton <alex@alexcrichton.com>
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
66 KiB
Assets (1)
Versions (1) View all
0.51.0 2026-03-26