Crates.io | zbus_xmlgen |
lib.rs | zbus_xmlgen |
version | 5.0.1 |
source | src |
created_at | 2021-01-02 18:46:39.266781 |
updated_at | 2024-11-02 22:44:01.790487 |
description | D-Bus XML interface code generator |
homepage | |
repository | https://github.com/dbus2/zbus/ |
max_upload_size | |
id | 330698 |
size | 59,721 |
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.
$ 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.