#timezone

no-std tzdb_data

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

9 releases

0.2.1 Jan 16, 2025
0.2.0 Sep 15, 2024
0.1.4 Jan 16, 2025
0.1.3 Sep 7, 2024
0.1.0 Dec 30, 2023

#320 in Date and time

Download history 28440/week @ 2024-10-21 30393/week @ 2024-10-28 29866/week @ 2024-11-04 31039/week @ 2024-11-11 32397/week @ 2024-11-18 26982/week @ 2024-11-25 33655/week @ 2024-12-02 37087/week @ 2024-12-09 27337/week @ 2024-12-16 24536/week @ 2024-12-23 25357/week @ 2024-12-30 29612/week @ 2025-01-06 32856/week @ 2025-01-13 33655/week @ 2025-01-20 27539/week @ 2025-01-27 31470/week @ 2025-02-03

127,522 downloads per month
Used in 72 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