easytime

Providing wrapper types for safely performing panic-free checked arithmetic on instants and durations.

APACHE-2.0 License

Downloads
29.9K
Stars
14
Committers
2

Bot releases are visible (Hide)

easytime - 0.2.7 Latest Release

Published by github-actions[bot] 8 months ago

  • Make Instant::{duration_since, elapsed, sub} saturating to follow the upstream change.

  • Add #[must_use] to follow upstream changes.

easytime - 0.2.6

Published by github-actions[bot] about 1 year ago

  • Increase the minimum supported Rust version from Rust 1.34 to Rust 1.58.
easytime - 0.2.5

Published by github-actions[bot] about 1 year ago

  • Remove dependency on const_fn crate.
easytime - 0.2.4

Published by github-actions[bot] about 2 years ago

  • Make Duration::new const function on Rust 1.58+.

  • Make Duration::is_zero const function on Rust 1.46+. Previously, this was const function on Rust 1.53+.

  • Documentation improvements.

easytime - 0.2.3

Published by github-actions[bot] over 2 years ago

  • Add {Duration, Instant}::NONE constants. (#27, thanks @dhardy)
easytime - 0.2.2

Published by github-actions[bot] about 3 years ago

easytime - 0.2.1

Published by github-actions[bot] over 3 years ago

Package Rankings
Top 23.14% on Crates.io
Badges
Extracted from project README
crates.io docs.rs license msrv github actions