#date #time #calendar #duration

no-std time

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

70 releases

0.3.0-alpha-0 Apr 22, 2021
0.2.26 Mar 16, 2021
0.2.25 Jan 25, 2021
0.2.23 Nov 17, 2020
0.1.0 Nov 27, 2014

#5 in No standard library

Download history 425436/week @ 2021-01-21 439043/week @ 2021-01-28 445071/week @ 2021-02-04 437485/week @ 2021-02-11 465065/week @ 2021-02-18 459041/week @ 2021-02-25 452189/week @ 2021-03-04 471845/week @ 2021-03-11 462558/week @ 2021-03-18 494437/week @ 2021-03-25 447279/week @ 2021-04-01 482880/week @ 2021-04-08 474931/week @ 2021-04-15 480795/week @ 2021-04-22 466357/week @ 2021-04-29 411525/week @ 2021-05-06

1,949,630 downloads per month
Used in 6,307 crates (1,005 directly)

MIT/Apache

345KB
6K SLoC

time

GitHub: time-rs/time license: MIT or Apache-2.0 minimum rustc: 1.46 version build status

Documentation:

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.

Contributing

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 or Codestream. There are a few notes inline with Codestream, though questions can be asked directly! As a bonus, they are visible and searchable for others. Feedback (prior to opening a pull request) can be provided with Codestream and VS Live Share. Don't hesitate to ask questions — that's what I'm here for!

If using Codestream, just open up a local copy of this repository. It should add you automatically.

License

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.

Dependencies

~0.5–1.5MB
~34K SLoC