9 releases (3 stable)

new 2.0.1 Jan 12, 2022
2.0.0 Jan 3, 2022
2.0.0-beta.8 Dec 27, 2021
2.0.0-beta.7 Sep 29, 2021
1.0.0 Jan 2, 2021

#69 in Unix APIs

Download history 29/week @ 2021-09-28 5/week @ 2021-10-05 16/week @ 2021-10-12 3/week @ 2021-10-19 5/week @ 2021-10-26 11/week @ 2021-11-09 7/week @ 2021-11-16 6/week @ 2021-11-23 12/week @ 2021-11-30 13/week @ 2021-12-07 9/week @ 2021-12-14 17/week @ 2021-12-21 46/week @ 2021-12-28 33/week @ 2022-01-04 42/week @ 2022-01-11

142 downloads per month

MIT license

725KB
16K 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

~6.5MB
~141K SLoC

la