#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

#313 in Date and time

Download history 29344/week @ 2024-12-27 28606/week @ 2025-01-03 32985/week @ 2025-01-10 30624/week @ 2025-01-17 29460/week @ 2025-01-24 32578/week @ 2025-01-31 40604/week @ 2025-02-07 38792/week @ 2025-02-14 40558/week @ 2025-02-21 43271/week @ 2025-02-28 41559/week @ 2025-03-07 44822/week @ 2025-03-14 40234/week @ 2025-03-21 39940/week @ 2025-03-28 40017/week @ 2025-04-04 35927/week @ 2025-04-11

166,212 downloads per month
Used in 83 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