systemd-zbus

Crates.iosystemd-zbus
lib.rssystemd-zbus
version
sourcesrc
created_at2022-12-24 23:05:26.265993
updated_at2024-11-28 01:23:02.866071
descriptionA dbus client (using zbus) for systemd
homepagehttps://gitlab.com/flukejones/systemd-zbus
repositoryhttps://gitlab.com/flukejones/systemd-zbus
max_upload_size
id745088
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Luke Jones (flukejones)

documentation

https://docs.rs/systemd-zbus

README

systemd-zbus

A wrapper around the dbus interfaces provided by systemd.

systemd-zbus aims to provide a convenient API abstraction of the dbus interface of systemd in rust, where possible parsing responses to concrete structs and enums.

Notes

This is a WIP, but entirely usable as it is. The generated methods from zbus-xmlgen all will work fine. The majority of these are untouched except for where the I/O of the API can benefit from some structs or enums to clarify and tidy things up.

PR's are welcome to help speed progress along. In reality there shouldn't be much to do.

Tests are lacking due to: most requiring root, and most generated methods should work without modification. Where the I/O of API was changed with struct or enums some tests were written to verify stuff.

Documentation is a little lacking but referring to https://www.freedesktop.org/software/systemd/man/systemctl.html can provide good insight as the API is generated directly from systemd dbus interface using zbus-xmlgen.

Commit count: 31

cargo fmt