zbus_systemd

crates.io Documentation

⚠️ This is an in-progress v0.0 Proof-of-Concept, do not rely on it.

A pure-Rust library to interact with systemd DBus services.

zbus_systemd provides support for interacting with the whole suite of systemd services over DBus.

Generating the code

This project uses just for commands, to generate the code after making changes 'just' run just.

Motivations and trade-offs

This library tries to achieve the following goals: * provide coverage for all systemd DBus services in a single crate * build on top of a Rust-native DBus stack, thanks to zbus * statically generate library code directly from systemd definitions * mainly rely on generated interfaces, with few manual overrides where needed

Examples

Some code snippets are available under examples.

License

Licensed under either of

at your option.