Network Manager and Rust's zbus
For a fun side project recently I needed to put a linux computer’s wifi card into “access point” mode. I was working from Rust and so, even though I could probably have just called out to the nmcli command line tool, I wanted to try to do the whole thing from within my binary. Fortunately, NetworkManager has a D-Bus API that exposes basically all the configuration options available. Also fortunately, Rust has an extensive and fairly well documented D-Bus crate called zbus.
Think Deeply and Rebuild Things