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

#938 in Unix APIs

Download history 100690/week @ 2024-07-19 108724/week @ 2024-07-26 105416/week @ 2024-08-02 115471/week @ 2024-08-09 112198/week @ 2024-08-16 123350/week @ 2024-08-23 113011/week @ 2024-08-30 114417/week @ 2024-09-06 100613/week @ 2024-09-13 96693/week @ 2024-09-20 100547/week @ 2024-09-27 103501/week @ 2024-10-04 105827/week @ 2024-10-11 100505/week @ 2024-10-18 95188/week @ 2024-10-25 92367/week @ 2024-11-01

411,166 downloads per month
Used in 342 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