#timezone #no-std #database #tzdb #iana-tzdb #tz-rs

no-std tzdb_data

Static, #![no_std] time zone information for tz-rs

11 releases

new 0.2.2 Apr 15, 2025
0.2.1 Jan 16, 2025
0.2.0 Sep 15, 2024
0.1.5 Apr 15, 2025
0.1.0 Dec 30, 2023

#322 in Date and time

Download history 27590/week @ 2024-12-25 24744/week @ 2025-01-01 31006/week @ 2025-01-08 32066/week @ 2025-01-15 32703/week @ 2025-01-22 29720/week @ 2025-01-29 39231/week @ 2025-02-05 40310/week @ 2025-02-12 38400/week @ 2025-02-19 42825/week @ 2025-02-26 42077/week @ 2025-03-05 39589/week @ 2025-03-12 45124/week @ 2025-03-19 40249/week @ 2025-03-26 40976/week @ 2025-04-02 33551/week @ 2025-04-09

166,105 downloads per month
Used in 84 crates (via tzdb)

MIT-0 OR MIT OR Apache-2.0

2MB
39K SLoC

tzdb_data — Time Zone Database

GitHub Workflow Status Crates.io Minimum supported Rust version License: MIT-0

Static, #![no_std] time zone information for tz-rs

Usage examples

// access by identifier
let time_zone = tzdb_data::time_zone::europe::KYIV;
// access by name
let time_zone = tzdb_data::find_tz(b"Europe/Berlin").unwrap();
// names are case insensitive
let time_zone = tzdb_data::find_tz(b"ArCtIc/LoNgYeArByEn").unwrap();

Dependencies