5 releases

new 0.0.5 Oct 11, 2024
0.0.4 Oct 11, 2024
0.0.3 Oct 1, 2024
0.0.2 Sep 30, 2024
0.0.1 Sep 30, 2024

#573 in Network programming

Download history 356/week @ 2024-09-26 91/week @ 2024-10-03

447 downloads per month
Used in metricator

MIT license

19KB
264 lines

monotonic-time-rs

Crates.io Documentation License

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"

No runtime deps