#timezone

no-std tzdb_data

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

4 releases

0.1.2 Feb 1, 2024
0.1.1 Jan 1, 2024
0.1.0 Dec 30, 2023

#357 in Date and time

Download history 5806/week @ 2024-01-23 7780/week @ 2024-01-30 6029/week @ 2024-02-06 6253/week @ 2024-02-13 8224/week @ 2024-02-20 6440/week @ 2024-02-27 7672/week @ 2024-03-05 7038/week @ 2024-03-12 6750/week @ 2024-03-19 6420/week @ 2024-03-26 7085/week @ 2024-04-02 7591/week @ 2024-04-09 6512/week @ 2024-04-16 7975/week @ 2024-04-23 6978/week @ 2024-04-30 5817/week @ 2024-05-07

28,586 downloads per month
Used in 44 crates (via tzdb)

MIT-0 license

2MB
40K 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