monotonic-time-rs is a Rust library dedicated to managing monotonic absolute timestamps with millisecond precision. It is primarily utilized for measuring latency and serializing monotonic time data for efficient transmission over networks.
- Monotonic Timestamps: Represent absolute time points in milliseconds.
- Durations: Safely compute elapsed time between timestamps.
- Lower Bits Extraction: Efficiently handle partial timestamp data.
- Custom Time Providers: Implement your own monotonic clock sources.
Add monotonic-time-rs to your Cargo.toml:
[dependencies]
monotonic-time-rs = "^0.0.1"