20 releases (stable)

Uses new Rust 2024

5.3.0 Feb 22, 2026
5.1.0 Feb 5, 2025
5.0.1 Nov 2, 2024
4.1.0 Mar 27, 2024
1.0.0 Jan 2, 2021

#1507 in Unix APIs

Download history 2/week @ 2025-12-26 33/week @ 2026-01-02 44/week @ 2026-01-09 25/week @ 2026-01-16 33/week @ 2026-01-23 14/week @ 2026-01-30 13/week @ 2026-02-06 30/week @ 2026-02-13 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 139/week @ 2026-04-10

377 downloads per month

MIT license

655KB
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
~329K SLoC