Date and time handling in Rust.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-06 15:17:35 +02:00
time chore: sync dependencies (monorepo) 2026-04-06 15:17:35 +02:00
time-core chore: sync dependencies (monorepo) 2026-04-06 15:17:35 +02:00
time-macros chore: sync dependencies (monorepo) 2026-04-06 15:17:35 +02:00
.deny.toml Update Unicode license for cargo-audit 2025-03-04 02:45:23 -05:00
.gitignore Commit Cargo.lock 2024-01-28 01:36:03 -05:00
.mailmap Add .mailmap file 2021-11-23 02:40:20 -05:00
Cargo.lock chore: sync dependencies (monorepo) 2026-04-06 15:17:35 +02:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-06 15:17:35 +02:00
LICENSE-Apache Remove specific year from license 2025-03-04 02:36:54 -05:00
LICENSE-MIT Remove specific year from license 2025-03-04 02:36:54 -05:00
README.md Bump MSRV to 1.88 2026-01-13 02:42:31 -05:00
rustfmt.toml Skip formatting some macros, update UI tests 2024-12-02 22:54:55 -05:00

time

minimum rustc: 1.88.0 version build status codecov

Documentation:

Minimum Rust version policy

time is guaranteed to compile with the latest stable release of Rust in addition to the two prior minor releases. For example, if the latest stable Rust release is 1.70, then time is guaranteed to compile with Rust 1.68, 1.69, and 1.70.

The minimum supported Rust version may be increased to one of the aforementioned versions if doing so provides the end user a benefit. However, the minimum supported Rust version may also be bumped to a version four minor releases prior to the most recent stable release if doing so improves code quality or maintainability.

For interoperability with third-party crates, it is guaranteed that there exists a version of that crate that supports the minimum supported Rust version of time. This does not mean that the latest version of the third-party crate supports the minimum supported Rust version of time.

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. Don't hesitate to ask questions — that's what I'm here for!

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.