zbus_xmlgen

Crates.iozbus_xmlgen
lib.rszbus_xmlgen
version5.0.1
sourcesrc
created_at2021-01-02 18:46:39.266781
updated_at2024-11-02 22:44:01.790487
descriptionD-Bus XML interface code generator
homepage
repositoryhttps://github.com/dbus2/zbus/
max_upload_size
id330698
size59,721
Zeeshan Ali Khan (zeenix)

documentation

https://dbus2.github.io/zbus/

README

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.
Commit count: 5232

cargo fmt