monotonic-time-rs

Crates.iomonotonic-time-rs
lib.rsmonotonic-time-rs
version0.0.5
sourcesrc
created_at2024-09-30 09:02:53.551629
updated_at2024-10-11 16:40:05.314065
descriptionMonotonic Time
homepage
repositoryhttps://github.com/piot/monotonic-time-rs
max_upload_size
id1391480
size24,142
Peter Bjorklund (piot)

documentation

README

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"
Commit count: 7

cargo fmt