#D-Bus #DBus

dbus-tokio

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

11 unstable releases

new 0.6.0 Oct 16, 2020
0.5.2 Jul 7, 2020
0.5.1 Feb 17, 2020
0.5.0 Dec 31, 2019
0.1.1 Jun 27, 2017

#10 in #d-bus

Download history 728/week @ 2020-07-02 730/week @ 2020-07-09 595/week @ 2020-07-16 660/week @ 2020-07-23 589/week @ 2020-07-30 408/week @ 2020-08-06 492/week @ 2020-08-13 564/week @ 2020-08-20 588/week @ 2020-08-27 555/week @ 2020-09-03 432/week @ 2020-09-10 409/week @ 2020-09-17 540/week @ 2020-09-24 378/week @ 2020-10-01 432/week @ 2020-10-08 382/week @ 2020-10-15

2,169 downloads per month
Used in 5 crates

Apache-2.0/MIT

430KB
8K SLoC

Tokio integration for D-Bus

This is an intermediate version:

The connection module uses the futures-preview crate, std::future, and can bind to both Tokio 0.1 and 0.2. Run it with the nightly feature to have the connection module bind to Tokio 0.2, and without this feature to bind to Tokio 0.1. The Tokio 0.2 connection is what will be supported in future versions. At the moment, this is a WIP, and only client side code is up and working.

The other structs (ADriver, AMethodCall, tree module) will bind to Tokio 0.1 and the old futures 0.1. They will be removed when Tokio 0.2 is stable.

See the examples for how to get started.


lib.rs:

Tokio integration for dbus

This crate contains code for interfacing dbus with tokio, enabling async/non-blocking operation.

This crate contains only the connection components, most of the async code is in the dbus::nonblock module, where you can find additional information.

There are some examples in the examples directory to help you get started.

Dependencies

~4MB
~72K SLoC