#systemd #varlink #varlink-rust

varlink_systemd

Rust library for interacting with systemd over varlink

1 unstable release

0.1.0 Oct 31, 2024

#399 in Unix APIs

MIT/Apache

18KB
404 lines

varlink_systemd

crates.io Documentation

This is a Rust library for interacting with systemd over varlink. It is based on the varlink-rust library.

Contributing

To add a new interface, run e.g. varlinkctl introspect /run/systemd/netif/io.systemd.Network io.systemd.Network and then copy the output to interfaces/io.systemd.Network.varlink.

Then run scripts/generate to generate the Rust code and create a pull request.

Dependencies

~2–11MB
~147K SLoC