Crate features / wit-bindgen
Feature flags · wit-bindgen 0.63.0 · from crates.io 2026-10-24
wit-bindgen features: what each one does, and the line to copy
Short answerwit-bindgen 0.63.0 has 10 features. By default it turns on macros, realloc, async, std, bitflags, macro-string; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
async | yes | nothing else (a switch the code checks) |
async-spawn | async, dep:futures | |
bitflags | yes | dep:bitflags |
futures-stream | async, dep:futures | |
inter-task-wakeup | async | |
macro-string | yes | wit-bindgen-rust-macro?/macro-string |
macros | yes | dep:wit-bindgen-rust-macro |
realloc | yes | nothing else (a switch the code checks) |
rustc-dep-of-std | dep:core, dep:alloc | |
std | yes | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version wit-bindgen declares (rust-version), and the release that changed it:
- 0.45.0 (2025-08-27): Rust 1.82.0
- 0.50.0 (2025-12-23): Rust 1.87.0
- 0.57.0 (2026-04-17): Rust 1.85.0
- 0.62.0 (2026-09-10): no rust-version declared
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p wit-bindgen --precise <version>, or use resolver 3, which picks compatible versions for you.
More on wit-bindgen
Real downloads, dependents and alternatives: wit-bindgen crate data (1.4M real downloads a day, 253 dependents).
docs.rs feature list · crates.io · license Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT · edition 2024
Up next
Before you depend on itwit-bindgen crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?