Registry / messaging / zbus
library5.15.0rscratesunverified

API for D-Bus communication, providing async and sync interfaces.

# Cargo.toml [dependencies] zbus = "5.15.0"
INSTALL
IMPORT
SIG · ZBUS
Z
zbus
messagingrustv5.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Connection
use zbus::Connection;

Connects to the D-Bus session bus asynchronously.

use zbus::Connection; #[tokio::main] async fn main() -> zbus::Result<()> { let conn = Connection::session().await?; println!("Connected to D-Bus session bus"); Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (tokio or async-std) and D-Bus daemon running
fix
Add `tokio` as a dependency and ensure D-Bus is available on the system.
affects: >=5.0.0
Upgrade
Version history
5.15.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
OpenAI (training)
1
Resources
zbus — cargo add zbus · libregistry