Crate features / zbus
Feature flags · zbus 6.1.0 · from crates.io 2026-10-24
zbus features: what each one does, and the line to copy
Short answerzbus 6.1.0 has 21 features. By default it turns on default-rt, proxy, service, object-manager, tracing; add default-features = false to start from nothing. It needs Rust 1.89 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
arrayvec | dep:arrayvec | |
bus-impl | p2p | |
camino | dep:camino | |
chrono | dep:chrono | |
comms | dep:bitflags, zbus_macros/comms, dep:serde_repr, dep:futures-core, dep:hex, dep:ordered-stream, dep:zruntime, zruntime/broadcast, zruntime/lock, zruntime/unblock, dep:async-trait, dep:rustix, dep:libc, dep:windows-sys, dep:uds_windows, dep:socket2, dep:uuid | |
default-rt | yes | comms, zruntime/runtime, zruntime/helper, zruntime/tcp, zruntime/unix, zruntime/process |
heapless | dep:heapless | |
ibus | comms, tokio?/process | |
object-manager | yes | service |
option-as-array | nothing else (a switch the code checks) | |
p2p | comms, uuid?/v4 | |
proxy | yes | comms, zbus_macros/proxy |
serde_bytes | dep:serde_bytes | |
service | yes | comms, zbus_macros/service |
time | dep:time | |
tokio | comms, dep:tokio | |
tokio-multithread | tokio, tokio/rt-multi-thread | |
tracing | yes | dep:tracing, tokio?/tracing, zruntime?/tracing |
unixexec | comms, tokio?/process | |
url | dep:url | |
uuid | dep:uuid |
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 zbus declares (rust-version), and the release that changed it:
- 3.0.0 (2022-08-17): Rust 1.60
- 3.14.0 (2023-06-28): Rust 1.64
- 4.0.0 (2024-02-12): Rust 1.75
- 3.15.1 (2024-02-23): Rust 1.64
- 4.1.2 (2024-02-25): Rust 1.75
- 5.0.0 (2024-10-18): Rust 1.81
- 5.1.0 (2024-11-02): Rust 1.80
- 5.3.0 (2025-01-10): Rust 1.77
- 5.13.0 (2026-01-09): Rust 1.85
- 5.14.0 (2026-02-22): Rust 1.87
- 6.0.0 (2026-10-16): Rust 1.89
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p zbus --precise <version>, or use resolver 3, which picks compatible versions for you.
More on zbus
Real downloads, dependents and alternatives: zbus crate data (354.2K real downloads a day, 647 dependents).
docs.rs feature list · crates.io · license MIT · edition 2024
Up next
Before you depend on itzbus crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?