Crates.io | tzdb_data |
lib.rs | tzdb_data |
version | 0.1.5 |
created_at | 2023-12-30 11:42:20.354331+00 |
updated_at | 2025-04-15 04:43:58.713574+00 |
description | Static, #![no_std] time zone information for tz-rs |
homepage | |
repository | https://github.com/Kijewski/tzdb |
max_upload_size | |
id | 1084134 |
size | 2,054,081 |
Static, #![no_std]
time zone information for tz-rs
// 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();