9 releases
0.0.9 | Jan 11, 2025 |
---|---|
0.0.8 | Jan 11, 2025 |
0.0.5 | Oct 11, 2024 |
0.0.2 | Sep 30, 2024 |
#574 in Network programming
748 downloads per month
Used in 34 crates
(22 directly)
20KB
301 lines
monotonic-time-rs
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.
🚀 Features
- 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.
📦 Installation
Add monotonic-time-rs
to your Cargo.toml
:
[dependencies]
monotonic-time-rs = "^0.0.1"
Dependencies
~0–2.3MB
~43K SLoC