#d-bus #d-bus


Makes it possible to use Tokio with D-Bus, which is a bus commonly used on Linux for inter-process communication

18 releases

0.7.6 Mar 9, 2023
0.7.5 Sep 19, 2021
0.7.4 Aug 6, 2021
0.7.3 Jan 6, 2021
0.1.1 Jun 27, 2017

#42 in Unix APIs

Download history 3677/week @ 2022-12-04 4363/week @ 2022-12-11 3944/week @ 2022-12-18 2235/week @ 2022-12-25 3405/week @ 2023-01-01 3946/week @ 2023-01-08 3855/week @ 2023-01-15 4034/week @ 2023-01-22 4528/week @ 2023-01-29 4988/week @ 2023-02-05 4369/week @ 2023-02-12 6307/week @ 2023-02-19 8261/week @ 2023-02-26 9795/week @ 2023-03-05 9364/week @ 2023-03-12 11386/week @ 2023-03-19

39,676 downloads per month
Used in 56 crates (18 directly)



Tokio integration for D-Bus

This crate integrates the dbus crate with the tokio async framework.

See the examples for how to get started.

For server side functionality, you can use the dbus-crossroads crate to have async method and property handlers.


You are hereby invited to participate in the development of dbus-tokio and the other dbus crates:

  • If you have discovered what you believe is a bug, file an issue.
  • If you have questions or comments that the documentation cannot answer in an easy way, start a discussion.
  • If you have smaller improvements to code, documentation, examples etc, go ahead and submit a pull request. Larger pieces of work are better off discussed first.

The code is Apache 2.0 / MIT dual licensed. Any code submitted in Pull Requests, discussions or issues are assumed to have this license, unless explicitly stated otherwise.


Same as for the D-Bus crate: Libdbus 1.6 or higher, and latest stable release of Rust. If you run Ubuntu (any maintained version should be okay), this means having the libdbus-1-dev and pkg-config packages installed while building, and the libdbus-1-3 package installed while running.


~214K SLoC