2 releases
0.1.1 | Oct 23, 2023 |
---|---|
0.1.0 | Oct 22, 2023 |
#80 in #points
18KB
264 lines
A no_std compatible time point and duration library.
Duration
The Duration
type is inspired by smoltcp::time::Duration
and
embassy_time::Duration
but allows for negative duration values as well.
Time points
The TimePoint
type is keyed on which Clock
it originates from. This catches errors such
as accidentally comparing time points from different clocks.
Features
std
- enabled by default.
lib.rs
:
A no_std compatible time point and duration library.
Duration
The Duration
type is inspired by smoltcp::time::Duration
and
embassy_time::Duration
but allows for negative duration values as well.
Time points
The TimePoint
type is keyed on which Clock
it originates from. This catches errors such
as accidentally comparing time points from different clocks.
Features
std
- enabled by default.
Dependencies
~3KB