Jiff has passed 285 million downloads on crates.io, and uv, Cargo, Starship, fd, Nushell, mise and Jujutsu run it in production. On November 15, 2026 its author, Andrew Gallant (BurntSushi, of ripgrep fame), shipped 1.0 with a promise you rarely see in Rust: there will be no 2.0 unless a serious API defect turns up.
What 1.0 commits to
This major version matters more for what it locks in than for what it adds. Jiff wants to be an ecosystem building block, the kind of crate that shows up in other libraries' public APIs. That only works if its types don't change every few months: if your crate exposes a jiff::Timestamp and Jiff ships a breaking release, every one of your users has a problem. With 1.0, Gallant commits to 1.x indefinitely and explicitly encourages putting Jiff types in public APIs.
The design borrows from Temporal, JavaScript's standard date API: zone-less civil types (civil::Date, civil::DateTime), Timestamp for absolute instants, and ZonedDateTime for an instant in a specific IANA zone. The practical difference from other libraries is that time zones sit at the center of the API instead of being bolted on.
What breaks when upgrading from 0.2
The big change is simple and touches almost everything: Zoned is now ZonedDateTime, and the methods that mention it follow (Timestamp::to_zoned is now Timestamp::to_zoned_datetime). The rest, per the CHANGELOG, is minor:
- Subtracting two
Timestampvalues returns aSignedDuration. - Converting a
TimestamptoSystemTimecan fail and returns aResult. Offset::saturating_addis fallible too.- The
ToSpantrait is sealed, so you can't implement it for your own types. jiff_tzdb::VERSIONis now required.- The minimum supported Rust version moves to 1.85.
Why it's worth it: DST gaps
The example that best explains Jiff is a time that never happened. On March 8, 2026, clocks in New York jumped from 2:00 to 3:00. If a user schedules something for 2:30 that day, Jiff doesn't quietly pick one: it makes you choose a strategy.
use jiff::{civil::date, tz::{offset, TimeZone}};
fn main() -> anyhow::Result<()> {
let tz = TimeZone::get("America/New_York")?;
// 2:30 did not exist on March 8, 2026: clocks jumped from 2:00 to 3:00
let dt = date(2026, 3, 8).at(2, 30, 0, 0);
let zdt = tz.to_ambiguous_zoned_datetime(dt).compatible()?;
assert_eq!(zdt.offset(), offset(-4));
// Or refuse to guess
assert!(tz.to_ambiguous_zoned_datetime(dt).unambiguous().is_err());
Ok(())
}compatible() matches Temporal (in a gap, it picks the later time), earlier() and later() force a side, and unambiguous() returns an error. For an SRE, this is the bug that shows up once a year, at 3 a.m., in a cron job or a billing calculation.
Jiff vs chrono
chrono is Rust's most widely used date library. Jiff's own comparison document (written against chrono 0.4.38) boils down to this:
| Jiff 1.0 | chrono | |
|---|---|---|
| Time zone database | The system's (/usr/share/zoneinfo); on Windows it embeds one via jiff-tzdb | Through the separate chrono-tz crate |
| Serializing with a zone | Lossless round trip: 2024-03-10T01:59:59-05:00[America/New_York] | Stores only the offset: after deserializing, the zone and DST-aware math are gone |
| Zone-aware calendar math | Adding a day respects DST, and differences in days stay consistent with that addition | Adds days zone-aware (through a separate API), but can't compute day differences consistent with it |
| Performance | Competitive overall, always faster at parsing and printing | Faster in some operations |
| Stability | 1.0 with an indefinite commitment | 0.4.x |
The real question isn't whether to rip chrono out of code that works, but what to use for new code that deals with time zones. There, Jiff is now the safer bet: it has the API that's hardest to misuse and, since November 15, the most stable one. If you only measure elapsed time, Gallant himself points out that std::time::Instant is enough, and if you live entirely in UTC with Unix timestamps, the standard library will do.
How to upgrade
# New project, or upgrading from 0.2
cargo add jiff@1
cargo buildChecklist before you ship:
- Make sure your toolchain is Rust 1.85 or newer.
- Replace
ZonedwithZonedDateTimeandto_zonedwithto_zoned_datetime; the compiler will point at every use. - Review
Timestampsubtraction andSystemTimeconversions, which now return a different type or aResult. - If you depend on several libraries that expose Jiff types, wait until all of them support 1.0: mixing 0.2 and 1.0 in the dependency tree gives you types that don't line up.
- Test with dates around your zones' DST transitions, which is where the library earns its keep.
Sources
- A datetime library for Rust, Andrew Gallant, November 15, 2026.
- Jiff CHANGELOG, version 1.0.0.
- Comparison with other Rust datetime crates, Jiff repository.
- jiff on crates.io.