#date #time #calendar #duration

no-std time

Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std].

91 releases

0.3.17 Nov 6, 2022
0.3.14 Aug 25, 2022
0.3.11 Jun 22, 2022
0.3.9 Mar 22, 2022
0.1.0 Nov 27, 2014

#2 in Date and time

Download history 1401215/week @ 2022-10-15 1321862/week @ 2022-10-22 1255087/week @ 2022-10-29 1339564/week @ 2022-11-05 1377859/week @ 2022-11-12 1145010/week @ 2022-11-19 1380347/week @ 2022-11-26 1322876/week @ 2022-12-03 1272863/week @ 2022-12-10 1158457/week @ 2022-12-17 722522/week @ 2022-12-24 1067449/week @ 2022-12-31 1362355/week @ 2023-01-07 1295907/week @ 2023-01-14 1349075/week @ 2023-01-21 1487372/week @ 2023-01-28

5,719,161 downloads per month
Used in 11,271 crates (1,935 directly)


10K SLoC


minimum rustc: 1.60 version build status codecov


Minimum Rust version policy

The time crate is guaranteed to compile with any release of rustc from the past six months. Optional feature flags that enable interoperability with third-party crates (e.g. rand) follow the policy of that crate if stricter.


Contributions are always welcome! If you have an idea, it's best to float it by me before working on it to ensure no effort is wasted. If there's already an open issue for it, knock yourself out. Internal documentation can be viewed here.

If you have any questions, feel free to use Discussions. Don't hesitate to ask questions — that's what I'm here for!


This project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in time by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.