logo
1
2
3
4
5
6
7
8
9
10
//! A capability-based clock API modeled after `std::time`.
//!
//! This corresponds to [`std::time`].
//!
//! Instead of [`std::time`]'s methods which return the current time, this
//! crate has methods on [`SystemClock`] and [`MonotonicClock`].

pub use cap_primitives::time::{
    Duration, Instant, MonotonicClock, SystemClock, SystemTime, SystemTimeError,
};