21 releases (stable)

Uses new Rust 2024

5.3.1 Apr 26, 2026
5.3.0 Feb 22, 2026
5.2.0 Jan 9, 2026
5.1.0 Feb 5, 2025
1.0.0 Jan 2, 2021

#1524 in Unix APIs

Download history 47/week @ 2026-02-20 31/week @ 2026-02-27 36/week @ 2026-03-06 75/week @ 2026-03-13 83/week @ 2026-03-20 73/week @ 2026-03-27 68/week @ 2026-04-03 157/week @ 2026-04-10 225/week @ 2026-04-17 192/week @ 2026-04-24 539/week @ 2026-05-01 1144/week @ 2026-05-08 1160/week @ 2026-05-15 1369/week @ 2026-05-22 1768/week @ 2026-05-29 1274/week @ 2026-06-05

5,629 downloads per month

MIT license

665KB
13K SLoC

This code was generated by {cargo_bin_name} {cargo_bin_version} from D-Bus introspection data. Source: {input_src}.

You may prefer to adapt it, instead of using it verbatim.

More information can be found in the Writing a client proxy section of the zbus documentation.

following zbus API can be used:

Consequently {cargo_bin_name} did not generate code for the above interfaces.


zbus_xmlgen

A binary crate that provides a developer tool to generate zbus-based Rust code from D-Bus XML interface descriptions. It can be used to generate the code directly from a running D-Bus system, session or other service, or using a preexisting XML file for input.

Status: Stable.

Usage

$ cargo install zbus_xmlgen
$ zbus-xmlgen system org.freedesktop.login1 /org/freedesktop/login1
$ zbus-xmlgen session org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver
$ zbus-xmlgen address unix:abstract=/home/user/.cache/ibus/dbus-fpxKwgbJ org.freedesktop.IBus /org/freedesktop/IBus
$ zbus-xmlgen file interface.xml # Use '-' for stdin.

Dependencies

~11–20MB
~324K SLoC