#date #time #calendar #duration

macro time-macros

Procedural macros for the time crate

3 unstable releases

0.2.0-alpha.0 Apr 22, 2021
0.1.1 Sep 29, 2020
0.1.0 Jan 17, 2020
0.0.0-alpha.0 Dec 2, 2019

#20 in Date and time

Download history 90527/week @ 2021-01-16 98224/week @ 2021-01-23 103948/week @ 2021-01-30 105498/week @ 2021-02-06 111699/week @ 2021-02-13 111702/week @ 2021-02-20 121456/week @ 2021-02-27 122462/week @ 2021-03-06 129223/week @ 2021-03-13 127173/week @ 2021-03-20 119074/week @ 2021-03-27 118983/week @ 2021-04-03 127455/week @ 2021-04-10 124614/week @ 2021-04-17 127389/week @ 2021-04-24 113692/week @ 2021-05-01

494,778 downloads per month
Used in 1,347 crates (via time)

MIT/Apache

65KB
1.5K 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–0.9MB
~23K SLoC