12 releases

Uses old Rust 2015

0.2.5 Apr 14, 2023
0.2.4 Feb 5, 2023
0.2.3 Jan 6, 2023
0.2.2 Sep 26, 2021
0.1.1 Jul 6, 2017

#13 in #d-bus

Download history 62674/week @ 2023-10-20 63835/week @ 2023-10-27 66540/week @ 2023-11-03 61902/week @ 2023-11-10 56120/week @ 2023-11-17 62701/week @ 2023-11-24 73403/week @ 2023-12-01 72416/week @ 2023-12-08 68422/week @ 2023-12-15 42823/week @ 2023-12-22 50061/week @ 2023-12-29 65579/week @ 2024-01-05 67422/week @ 2024-01-12 77174/week @ 2024-01-19 72256/week @ 2024-01-26 64202/week @ 2024-02-02

292,393 downloads per month
Used in 271 crates (2 directly)

Apache-2.0/MIT

4.5MB
105K SLoC

C 101K SLoC // 0.2% comments Automake 1.5K SLoC // 0.0% comments Shell 1K SLoC // 0.3% comments Rust 563 SLoC // 0.1% comments Bitbake 473 SLoC // 0.0% comments M4 359 SLoC // 0.5% comments XSL 116 SLoC // 0.1% comments Python 87 SLoC // 0.1% comments PowerShell 45 SLoC // 0.2% comments C++ 22 SLoC // 0.5% comments Batch 15 SLoC SWIG 7 SLoC

Raw FFI bindings to libdbus

Libdbus is licensed under GPL-2.0+/AFL (Academic free license), whereas the bindings are licensed under MIT/Apache-2.0.

By default, libdbus is dynamically linked, meaning that libdbus-1.so must be installed on the target system (which it is, by default, in all common Linux distributions).

As an option, libdbus can be built from source and included in the final executable. For this, enable the vendored feature. The crates.io package contains source code from libdbus; but it is only included in the build if the vendored feature is enabled.

The vendored feature is the current recommended way to cross compile dbus-rs, although some other methods are mentioned here.

Dependencies