// the find
BurntSushi/jiff
A datetime library for Rust that encourages you to jump into the pit of success.
Jiff is a datetime library for Rust from the author of ripgrep and the regex crate, modeled heavily on TC39's Temporal proposal. It's aimed at anyone doing timezone-aware date arithmetic in Rust who's hit the sharp edges of chrono — civil dates, zoned datetimes, and DST-safe arithmetic are first-class instead of bolted on.
The civil/zoned/timestamp type split forces you to be explicit about whether you have wall-clock time or an actual instant, which is exactly the distinction that causes real bugs in chrono-based code. Rounding and arithmetic on zoned datetimes handle DST transitions correctly by construction rather than relying on the caller to know the gotchas. Zero dependencies on Unix, with the IANA tz database embedded on Windows, so you're not pulling in a pile of transitive crates just to know what timezone a system is in. The crate also ships jiff-icu, jiff-diesel and jiff-sqlx integration crates so you're not stuck writing your own Serde/ORM glue.
Still pre-1.0 after the original target date (summer 2025) slipped by over a year with no new release date given, so anyone adopting it now is accepting an API that could still shift. The README is upfront that performance takes a back seat to API clarity, so it's not the pick if you're formatting/parsing timestamps in a hot loop. MSRV is 1.70, which rules it out for projects pinned to older toolchains. The surface area is large — civil, tz, fmt::strtime, fmt::temporal, rounding units — so there's a real learning curve versus chrono's more string-shaped mental model.