zbus_systemd

Crates.iozbus_systemd
lib.rszbus_systemd
version0.25701.0
created_at2022-02-14 11:18:37.988599+00
updated_at2025-01-24 18:05:00.856789+00
descriptionA pure-Rust library to interact with systemd DBus services
homepage
repositoryhttps://github.com/lucab/zbus_systemd
max_upload_size
id532187
size592,345
Zeeshan Ali Khan (zeenix)

documentation

https://docs.rs/zbus_systemd

README

zbus_systemd

crates.io Documentation

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

zbus_systemd provides support for interacting with the suite of systemd services over DBus. This crate tries to cover all systemd interfaces, across all services.

Each service has its own dedicated module, which is auto-generated from current systemd definitions and can be activated through the corresponding Cargo feature:

  • home1: systemd-homed interfaces (org.freedesktop.home1)
  • hostname1: systemd-hostnamed interfaces (org.freedesktop.hostname1)
  • import1: systemd-importd interfaces (org.freedesktop.import1)
  • locale1: systemd-localed interfaces (org.freedesktop.locale1)
  • login1: systemd-logind interfaces (org.freedesktop.login1)
  • machine1: systemd-machined interfaces (org.freedesktop.machine1)
  • network1: systemd-networkd interfaces (org.freedesktop.network1)
  • oom1: systemd-oomd interfaces (org.freedesktop.oom1)
  • portable1: systemd-portabled interfaces (org.freedesktop.portable1)
  • resolve1: systemd-resolved interfaces (org.freedesktop.resolve1)
  • systemd1: systemd interfaces (org.freedesktop.systemd1)
  • sysupdate1: systemd-sysupdated interfaces (org.freedesktop.sysupdated1)
  • timedate1: systemd-timedated interfaces (org.freedesktop.timedate1)
  • timesync1: systemd-timesyncd interfaces (org.freedesktop.timesync1)

For a quickstart on how to use those interfaces, see the examples.

License

Licensed under either of

at your option.

Commit count: 132

cargo fmt