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

#869 in Unix APIs

Download history 75883/week @ 2023-12-06 68830/week @ 2023-12-13 50173/week @ 2023-12-20 44689/week @ 2023-12-27 62169/week @ 2024-01-03 64111/week @ 2024-01-10 72039/week @ 2024-01-17 77070/week @ 2024-01-24 73149/week @ 2024-01-31 72529/week @ 2024-02-07 75491/week @ 2024-02-14 92614/week @ 2024-02-21 78526/week @ 2024-02-28 79291/week @ 2024-03-06 70121/week @ 2024-03-13 65877/week @ 2024-03-20

310,363 downloads per month
Used in 280 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