#systemd #linux #async #file-descriptor

systemd-connector

A rust library for interacting with systemd

1 unstable release

0.1.0 Jul 12, 2024

#778 in Unix APIs

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