Crate features / time
Feature flags · time 0.3.55 · from crates.io 2026-10-24
time features: what each one does, and the line to copy
Short answertime 0.3.55 has 16 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | serde_core?/alloc | |
formatting | std, time-macros?/formatting | |
large-dates | time-core/large-dates, time-macros?/large-dates | |
local-offset | std, dep:libc, dep:num_threads | |
macros | dep:time-macros | |
parsing | time-macros?/parsing | |
quickcheck | dep:quickcheck, alloc, deranged/quickcheck | |
rand | rand08, rand09, rand010 | |
rand010 | dep:rand010, deranged/rand010 | |
rand08 | dep:rand08, deranged/rand08 | |
rand09 | dep:rand09, deranged/rand09 | |
serde | dep:serde_core, time-macros?/serde, deranged/serde | |
serde-human-readable | serde, formatting, parsing | |
serde-well-known | serde, formatting, parsing | |
std | yes | alloc |
wasm-bindgen | dep:js-sys |
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 declares (rust-version), and the release that changed it:
- 0.3.10 (2022-06-20): Rust 1.57.0
- 0.3.14 (2022-08-25): Rust 1.59.0
- 0.3.16 (2022-10-24): Rust 1.60.0
- 0.1.45 (2022-11-26): no rust-version declared
- 0.3.18 (2023-02-16): Rust 1.62.0
- 0.3.20 (2023-02-25): Rust 1.63.0
- 0.3.21 (2023-05-06): Rust 1.65.0
- 0.3.24 (2023-07-30): Rust 1.67.0
- 0.3.37 (2024-12-03): Rust 1.67.1
- 0.3.42 (2025-08-31): Rust 1.81.0
- 0.3.45 (2026-01-13): Rust 1.83.0
- 0.3.46 (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 --precise <version>, or use resolver 3, which picks compatible versions for you.
More on time
Real downloads, dependents and alternatives: time crate data (2.4M real downloads a day, 6,747 dependents).
Security record: time advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on ittime crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?