#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

#316 in Date and time

Download history 6838/week @ 2024-03-14 7028/week @ 2024-03-21 6018/week @ 2024-03-28 7553/week @ 2024-04-04 6906/week @ 2024-04-11 7150/week @ 2024-04-18 7201/week @ 2024-04-25 7381/week @ 2024-05-02 7496/week @ 2024-05-09 7940/week @ 2024-05-16 7234/week @ 2024-05-23 10023/week @ 2024-05-30 9585/week @ 2024-06-06 11376/week @ 2024-06-13 12826/week @ 2024-06-20 10480/week @ 2024-06-27

45,984 downloads per month
Used in 47 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