Writing a Windows Service in Rust

I&rsquo;m currently writing a cross-platform server application in Rust which should also be able to run as a service on Windows. While this sounds like a relatively straight-forward thing to do, it was a bit more involved than I originally thought (especially compared to running unix services). Below you&rsquo;ll find my notes and a well-documented code sample for running a small echo server for…