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

#630 in Network programming

Download history 69/week @ 2024-10-22 64/week @ 2024-10-29 48/week @ 2024-11-05 66/week @ 2024-11-12 56/week @ 2024-11-19 80/week @ 2024-11-26 139/week @ 2024-12-03 139/week @ 2024-12-10 24/week @ 2024-12-17 33/week @ 2024-12-24 50/week @ 2024-12-31 530/week @ 2025-01-07 133/week @ 2025-01-14 39/week @ 2025-01-21 4/week @ 2025-01-28 28/week @ 2025-02-04

306 downloads per month
Used in 34 crates (22 directly)

MIT license

20KB
301 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"

Dependencies

~0–2.3MB
~43K SLoC