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

#843 in Unix APIs

Download history 84891/week @ 2024-06-20 93226/week @ 2024-06-27 82445/week @ 2024-07-04 93688/week @ 2024-07-11 96992/week @ 2024-07-18 109772/week @ 2024-07-25 103256/week @ 2024-08-01 116753/week @ 2024-08-08 110632/week @ 2024-08-15 122341/week @ 2024-08-22 112095/week @ 2024-08-29 118949/week @ 2024-09-05 106777/week @ 2024-09-12 90684/week @ 2024-09-19 101886/week @ 2024-09-26 86099/week @ 2024-10-03

406,475 downloads per month
Used in 334 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

Contains (obscure autoconf code, 64KB) vendor/dbus/configure.ac

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