dbus-daemon-rs
A tool for starting an new isolated instance of a dbus-daemon or a dbus-broker, with option to configure and start services using D-Bus activation.
Examples
Launching a dbus-daemon process
// Start the dbus-daemon.
let daemon = daemon
.launch
.expect;
// Use dbus-daemon by connecting to `daemon.address()` ...
// Stop the dbus-daemon process by dropping it.
drop;
Starting custom services using D-Bus activation
use Path;
let daemon = daemon
.service
.launch
.expect;
// Use com.example.Test service by connecting to `daemon.address()` ...
License
Licensed under MIT License.