#systemd #varlink #varlink-rust

varlink_systemd

Rust library for interacting with systemd over varlink

1 unstable release

new 0.1.0 Oct 31, 2024

#392 in Unix APIs

Download history 107/week @ 2024-10-28

107 downloads per month

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–13MB
~152K SLoC