Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. burntSushi/jiff

burntSushi/jiff

UnlicenseRust0.2.0

A Rust datetime library focused on correctness and ease of use, with seamless time zone database integration.

GitHubGitHub
2.8k stars106 forks0 contributors

What is burntSushi/jiff?

Jiff is a datetime library for the Rust programming language that provides high-level primitives for handling dates, times, and time zones. It solves the common pitfalls of datetime manipulation by encouraging correct usage through its API design, integrating automatically with the IANA Time Zone Database and supporting DST-aware arithmetic.

Target Audience

Rust developers building applications that require robust datetime handling, such as scheduling systems, logging, data processing pipelines, or any software dealing with international time zones.

Value Proposition

Developers choose Jiff for its focus on correctness and ease of use—it makes datetime operations hard to misuse while providing seamless time zone support. Its design is inspired by the Temporal proposal, offering a modern alternative to existing Rust datetime libraries with an emphasis on API clarity and platform consistency.

Overview

A datetime library for Rust that encourages you to jump into the pit of success.

Use Cases

Best For

  • Building applications that handle scheduling across multiple time zones
  • Parsing and formatting RFC 3339 timestamps with time zone awareness
  • Performing date arithmetic that correctly accounts for Daylight Saving Time
  • Developing Rust services that require consistent datetime behavior on both Unix and Windows
  • Creating data serialization/deserialization pipelines with datetime fields
  • Implementing logging or auditing systems with precise, zone-aware timestamps

Not Ideal For

  • Projects demanding minimal binary size, especially on Windows where Jiff embeds the time zone database
  • High-throughput applications where datetime performance is critical, as optimization is secondary
  • Systems requiring advanced ICU localization features beyond time zone handling
  • Environments with strict zero-dependency policies due to platform-specific crates like windows-sys

Pros & Cons

Pros

Automatic Time Zone Integration

Seamlessly uses the IANA Time Zone Database with embedded support for Windows, ensuring consistent behavior across Unix and Windows platforms as per the PLATFORM.md documentation.

DST-Aware Arithmetic

Correctly handles Daylight Saving Time transitions in date calculations, preventing common errors like off-by-one-hour mistakes in scheduling.

Lossless Formatting/Parsing

Provides zone-aware serialization and deserialization without data loss, exemplified by the RFC 3339 parsing and formatting in the example code.

Correctness-First API Design

Encourages correct usage through high-level primitives that are hard to misuse, inspired by the Temporal proposal to reduce datetime pitfalls.

Cons

Pre-1.0 Instability

The API is not finalized, with the README noting slipped release deadlines and potential breaking changes until version 1.0, which may affect long-term projects.

Secondary Performance Focus

Explicitly prioritizes correctness over speed, meaning performance optimizations are limited and it may lag behind libraries like `time` in benchmarks.

Limited Niche Platform Support

Relies on contributor pull requests for obscure platforms, as admitted in the platform support section, which could hinder adoption in specialized environments.

Frequently Asked Questions

Quick Stats

Stars2,780
Forks106
Contributors0
Open Issues35
Last commit4 days ago
CreatedSince 2024

Tags

#parsing#local#formatting#serde#datetime#date-time#timezone#iso8601#calendar#date#duration#rust#iana#date-arithmetic#iana-tzdb

Built With

R
Rust

Included in

Rust56.6k
Auto-fetched 14 hours ago

Related Projects

chronochrono

Date and time library for Rust

Stars3,880
Forks607
Last commit4 days ago
timetime

Date and time handling in Rust.

Stars1,326
Forks305
Last commit1 day ago
rusti-calrusti-cal

⚡️ A cal(1) clone lightning-fast ~ more than 9999 years ~ Written in Rust 🦀

Stars83
Forks7
Last commit1 month ago
msms

Fast abstraction for converting human-like times into milliseconds.

Stars36
Forks2
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub