#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

#319 in Date and time

Download history 6947/week @ 2024-02-26 7336/week @ 2024-03-04 7204/week @ 2024-03-11 6862/week @ 2024-03-18 6793/week @ 2024-03-25 6435/week @ 2024-04-01 7689/week @ 2024-04-08 6353/week @ 2024-04-15 7817/week @ 2024-04-22 6679/week @ 2024-04-29 7722/week @ 2024-05-06 7852/week @ 2024-05-13 7789/week @ 2024-05-20 8655/week @ 2024-05-27 9223/week @ 2024-06-03 9514/week @ 2024-06-10

35,837 downloads per month
Used in 46 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