dbus-async
A pure Rust written asynchronous DBus library.
Usage
Add this to your Cargo.toml:
[]
= "~2.3.1"
You have to specify, which Tokio Runtime should be used.
- For multi-threaded add this to your
Cargo.toml:version = " ~1.15.0" features = - For single-threaded add this to your
Cargo.toml:version = "~1.15.0" features =
Example
use DBus;
use Message;
use TryInto;
async
If you want to implement a DBus service and do not implement the dbus_async::Handler trait
manually then use dbus-async-derive crate.