Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 797 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 797 Bytes

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.