I wanted to measure event-to-event latency on my remote control project Spud[0]. I found the C++ library Timesync[1] by Chris Taylor, which implements a unique "every packet is a probe" algorithm. I decided to port it to Rust, and also provide some abstractions for event latency measurement. Feel free to let me know if you find this useful, feedback is also welcome!
[0]: https://github.com/xfoa/Spud
[1]: https://github.com/catid/TimeSync