#dbus #systemd #zbus #logind

logind-zbus

A dbus client (using zbus) for logind

32 releases (15 stable)

new 5.1.0 Nov 28, 2024
4.0.4 Aug 28, 2024
4.0.3 May 6, 2024
4.0.0 Feb 21, 2024
0.6.1 Mar 16, 2021

#114 in Unix APIs

Download history 2816/week @ 2024-08-12 2363/week @ 2024-08-19 3136/week @ 2024-08-26 3193/week @ 2024-09-02 2513/week @ 2024-09-09 1699/week @ 2024-09-16 2561/week @ 2024-09-23 2658/week @ 2024-09-30 2111/week @ 2024-10-07 2023/week @ 2024-10-14 1525/week @ 2024-10-21 2100/week @ 2024-10-28 1709/week @ 2024-11-04 1674/week @ 2024-11-11 1654/week @ 2024-11-18 2259/week @ 2024-11-25

7,534 downloads per month
Used in 6 crates (via oma-utils)

MPL-2.0 license

60KB
1.5K SLoC

logind-zbus

A wrapper around the dbus interfaces provided by systemd-logind.

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


lib.rs:

Reference https://www.freedesktop.org/software/systemd/man/org.freedesktop.login1.html

Dependencies

~8–18MB
~272K SLoC