#zbus #systemd #logind

logind-zbus

A dbus client (using zbus) for logind

30 releases (13 stable)

4.0.3 May 6, 2024
4.0.0 Feb 21, 2024
3.1.2 Aug 14, 2023
3.1.1 Jun 14, 2023
0.6.1 Mar 16, 2021

#100 in Unix APIs

Download history 1883/week @ 2024-01-25 2298/week @ 2024-02-01 1684/week @ 2024-02-08 2670/week @ 2024-02-15 3397/week @ 2024-02-22 2720/week @ 2024-02-29 2625/week @ 2024-03-07 4070/week @ 2024-03-14 3222/week @ 2024-03-21 3811/week @ 2024-03-28 3558/week @ 2024-04-04 2401/week @ 2024-04-11 2806/week @ 2024-04-18 2556/week @ 2024-04-25 4032/week @ 2024-05-02 4331/week @ 2024-05-09

14,079 downloads per month

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
~267K SLoC