#dbus #systemd #zbus #logind

logind-zbus

A dbus client (using zbus) for logind

32 releases (15 stable)

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 2236/week @ 2024-08-17 2736/week @ 2024-08-24 3442/week @ 2024-08-31 2849/week @ 2024-09-07 1792/week @ 2024-09-14 2264/week @ 2024-09-21 2626/week @ 2024-09-28 2310/week @ 2024-10-05 2213/week @ 2024-10-12 1535/week @ 2024-10-19 1940/week @ 2024-10-26 1880/week @ 2024-11-02 1654/week @ 2024-11-09 1611/week @ 2024-11-16 2090/week @ 2024-11-23 1945/week @ 2024-11-30

7,525 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
~268K SLoC