#linux #systemd #file-descriptor #async

systemd-connector

A rust library for interacting with systemd

1 unstable release

0.1.0 Jul 12, 2024

#690 in Unix APIs

Download history 87/week @ 2024-07-12 2/week @ 2024-07-19 122/week @ 2024-08-23 238/week @ 2024-08-30 21/week @ 2024-09-06 29/week @ 2024-09-13 60/week @ 2024-09-20 24/week @ 2024-09-27 9/week @ 2024-10-04

123 downloads per month

MIT license

19KB
359 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.6–9MB
~82K SLoC