#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 265/week @ 2023-12-25 2336/week @ 2024-01-01 3961/week @ 2024-01-08 5082/week @ 2024-01-15 5823/week @ 2024-01-22 6950/week @ 2024-01-29 6682/week @ 2024-02-05 6079/week @ 2024-02-12 7930/week @ 2024-02-19 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 5695/week @ 2024-04-08

26,119 downloads per month
Used in 45 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