docs: update zbus-xmlgen generation commands; add zbus-xmlgen to development shell

This commit is contained in:
Wölfchen 2024-08-02 15:47:38 +02:00 committed by ElKowar
parent 71ba502442
commit 5cec8736a7
2 changed files with 5 additions and 3 deletions

View file

@ -2,9 +2,10 @@
//!
//! The interface XML files were taken from
//! [Waybar](https://github.com/Alexays/Waybar/tree/master/protocol), and the proxies were
//! generated with [zbus-xmlgen](https://docs.rs/crate/zbus_xmlgen/latest) by running `zbus-xmlgen
//! dbus_status_notifier_item.xml` and `zbus-xmlgen dbus_status_notifier_watcher.xml`. At the
//! moment, `dbus_menu.xml` isn't used.
//! generated with [zbus-xmlgen](https://docs.rs/crate/zbus_xmlgen/latest) by running
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_item.xml` and
//! `zbus-xmlgen file crates/notifier_host/src/proxy/dbus_status_notifier_watcher.xml`.
//! At the moment, `dbus_menu.xml` isn't used.
//!
//! For more information, see ["Writing a client proxy" in the zbus
//! tutorial](https://dbus2.github.io/zbus/).

View file

@ -86,6 +86,7 @@
packages = with pkgs; [
deno
mdbook
zbus-xmlgen
];
RUST_SRC_PATH = "${rust}/lib/rustlib/src/rust/library";