11 releases (5 stable)

3.1.0 Dec 6, 2022
3.0.0 Sep 13, 2022
2.0.1 Jan 12, 2022
2.0.0-beta.8 Dec 27, 2021
1.0.0 Jan 2, 2021

#81 in Unix APIs

Download history 6/week @ 2022-10-10 5/week @ 2022-10-17 4/week @ 2022-10-24 10/week @ 2022-10-31 12/week @ 2022-11-07 7/week @ 2022-11-14 14/week @ 2022-11-21 8/week @ 2022-11-28 43/week @ 2022-12-05 24/week @ 2022-12-12 7/week @ 2022-12-19 28/week @ 2022-12-26 19/week @ 2023-01-02 7/week @ 2023-01-09 5/week @ 2023-01-16 11/week @ 2023-01-23

58 downloads per month

MIT license

1MB
21K SLoC

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 interface.xml

Dependencies

~8–14MB
~264K SLoC