Email me

Crate features / chrono

Feature flags · chrono 0.4.45 · from crates.io 2026-10-24

chrono features: what each one does, and the line to copy

Short answerchrono 0.4.45 has 17 features. By default it turns on clock, std, oldtime, wasmbind; add default-features = false to start from nothing. It needs Rust 1.62.0 or newer.

Pick features

0.4.45latest version
17features
2optional dependencies
1.62.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
__internal_benchnothing else (a switch the code checks)
allocnothing else (a switch the code checks)
clockyeswinapi, iana-time-zone, now
core-errornothing else (a switch the code checks)
defmtdep:defmt, pure-rust-locales?/defmt
libcnothing else (a switch the code checks)
nowstd
oldtimeyesnothing else (a switch the code checks)
rkyvdep:rkyv, rkyv/size_32
rkyv-16dep:rkyv, rkyv?/size_16
rkyv-32dep:rkyv, rkyv?/size_32
rkyv-64dep:rkyv, rkyv?/size_64
rkyv-validationrkyv?/validation
stdyesalloc
unstable-localespure-rust-locales
wasmbindyeswasm-bindgen, js-sys
winapiwindows-link

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 chrono declares (rust-version), and the release that changed it:

  • 0.4.25 (2023-05-29): Rust 1.56.0
  • 0.4.27 (2023-08-29): Rust 1.57.0
  • 0.4.32 (2024-01-22): Rust 1.61.0
  • 0.4.41 (2025-04-29): Rust 1.62.0

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p chrono --precise <version>, or use resolver 3, which picks compatible versions for you.

More on chrono

Real downloads, dependents and alternatives: chrono crate data (2.4M real downloads a day, 38,126 dependents).

Security record: chrono advisories.

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on itchrono crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ