#timezone

no-std tzdb_data

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

9 releases

new 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

#334 in Date and time

Download history 27836/week @ 2024-09-26 26480/week @ 2024-10-03 28925/week @ 2024-10-10 30055/week @ 2024-10-17 29935/week @ 2024-10-24 29349/week @ 2024-10-31 29330/week @ 2024-11-07 32721/week @ 2024-11-14 29875/week @ 2024-11-21 29561/week @ 2024-11-28 34747/week @ 2024-12-05 34564/week @ 2024-12-12 22158/week @ 2024-12-19 27295/week @ 2024-12-26 27899/week @ 2025-01-02 31543/week @ 2025-01-09

114,107 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