#timezone

no-std tzdb_data

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

7 releases

0.2.0 Sep 15, 2024
0.1.3 Sep 7, 2024
0.1.2 Feb 1, 2024
0.1.1 Jan 1, 2024
0.1.0 Dec 30, 2023

#311 in Date and time

Download history 14421/week @ 2024-07-19 18846/week @ 2024-07-26 17830/week @ 2024-08-02 18307/week @ 2024-08-09 19959/week @ 2024-08-16 26124/week @ 2024-08-23 22762/week @ 2024-08-30 26183/week @ 2024-09-06 24982/week @ 2024-09-13 26197/week @ 2024-09-20 27205/week @ 2024-09-27 27670/week @ 2024-10-04 28686/week @ 2024-10-11 29528/week @ 2024-10-18 30207/week @ 2024-10-25 29878/week @ 2024-11-01

123,974 downloads per month
Used in 69 crates (via tzdb)

MIT-0 license

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