#systemd #logind #zbus

logind-zbus

A dbus client (using zbus) for logind

29 releases (12 stable)

4.0.2 Apr 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

#103 in Unix APIs

Download history 2568/week @ 2023-12-23 1623/week @ 2023-12-30 1780/week @ 2024-01-06 1550/week @ 2024-01-13 1435/week @ 2024-01-20 2026/week @ 2024-01-27 2277/week @ 2024-02-03 1855/week @ 2024-02-10 2763/week @ 2024-02-17 3412/week @ 2024-02-24 2604/week @ 2024-03-02 3274/week @ 2024-03-09 3509/week @ 2024-03-16 3216/week @ 2024-03-23 4122/week @ 2024-03-30 2749/week @ 2024-04-06

14,150 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

~11–23MB
~340K SLoC