#time

cap-time-ext

Extension traits for SystemClock and MonotonicClock

14 releases (breaking)

new 0.13.6 Feb 23, 2021
0.12.0 Jan 28, 2021
0.8.0 Dec 11, 2020
0.6.0 Nov 10, 2020

#32 in Date and time

Download history 19/week @ 2020-11-04 11/week @ 2020-11-11 2/week @ 2020-11-18 5/week @ 2020-11-25 4/week @ 2020-12-02 38/week @ 2020-12-09 2/week @ 2020-12-16 142/week @ 2020-12-30 157/week @ 2021-01-06 112/week @ 2021-01-13 59/week @ 2021-01-20 937/week @ 2021-01-27 1276/week @ 2021-02-03 1065/week @ 2021-02-10 2143/week @ 2021-02-17

1,941 downloads per month
Used in 2 crates (via wasi-cap-std-sync)

Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT

355KB
7.5K SLoC

cap-time-ext

Extension traits for `SystemClock` and `MonotonicClock`

Github Actions CI Status crates.io page docs.rs docs

The cap-time-ext crate provides extension traits adding extra features to clock types such as SystemClock and MonotonicClock.


lib.rs:

Extension traits for SystemClock and MonotonicClock

Dependencies

~250–435KB