16 releases
0.0.16 | Mar 25, 2024 |
---|---|
0.0.12 | Feb 26, 2024 |
0.0.11 | Dec 20, 2023 |
0.0.10 | Jul 7, 2023 |
0.0.3 | Feb 14, 2022 |
#188 in Unix APIs
2,243 downloads per month
Used in 11 crates
(via printnanny-dbus)
520KB
7.5K
SLoC
zbus_systemd
⚠️ 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
- MIT license - http://opensource.org/licenses/MIT
- Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0
at your option.
Dependencies
~11–23MB
~339K SLoC