Crate features / time-macros
Feature flags · time-macros 0.2.32 · from crates.io 2026-10-24
time-macros features: what each one does, and the line to copy
Short answertime-macros 0.2.32 has 4 features. Nothing is on by default: turn on what you use. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
formatting | nothing else (a switch the code checks) | |
large-dates | nothing else (a switch the code checks) | |
parsing | nothing else (a switch the code checks) | |
serde | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version time-macros declares (rust-version), and the release that changed it:
- 0.2.5 (2022-10-24): Rust 1.60.0
- 0.2.7 (2023-02-17): Rust 1.62.0
- 0.2.8 (2023-02-25): Rust 1.63.0
- 0.2.9 (2023-05-06): Rust 1.65.0
- 0.2.11 (2023-07-30): Rust 1.67.0
- 0.2.19 (2024-12-03): Rust 1.67.1
- 0.2.23 (2025-08-31): Rust 1.81.0
- 0.2.25 (2026-01-13): Rust 1.83.0
- 0.2.26 (2026-01-24): Rust 1.88.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p time-macros --precise <version>, or use resolver 3, which picks compatible versions for you.
More on time-macros
Real downloads, dependents and alternatives: time-macros crate data (2.2M real downloads a day, 15 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on ittime-macros crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?