#systemd #linux #async #file-descriptor

systemd-connector

A rust library for interacting with systemd

1 unstable release

0.1.0 Jul 12, 2024

#1003 in Unix APIs

Download history 16/week @ 2024-09-11 64/week @ 2024-09-18 27/week @ 2024-09-25 15/week @ 2024-10-02 2/week @ 2024-10-09 12/week @ 2024-11-13 5/week @ 2024-11-20 71/week @ 2024-12-04 51/week @ 2024-12-11 4/week @ 2024-12-18 10/week @ 2024-12-25

136 downloads per month

MIT license

21KB
410 lines

SystemD-connector

crate Docs Build Status MIT licensed

A quick library for interacting with SystemD from inside a rust library.

This is meant to be a re-implementation of libsystemd in rust, with a more idiomatic API, but it is definitely imperfect and missing most features.

Right now, it covers:

  • sd_notify (notify systemd of readiness)
  • sd_listen_fds (get the number of file descriptors passed to the process)

Dependencies

~0.5–9MB
~83K SLoC