#timezone

no-std tzdb_data

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

7 releases

0.2.0 Sep 15, 2024
0.1.3 Sep 7, 2024
0.1.2 Feb 1, 2024
0.1.1 Jan 1, 2024
0.1.0 Dec 30, 2023

#327 in Date and time

Download history 22192/week @ 2024-08-17 24287/week @ 2024-08-24 23155/week @ 2024-08-31 26800/week @ 2024-09-07 24623/week @ 2024-09-14 26316/week @ 2024-09-21 26845/week @ 2024-09-28 28697/week @ 2024-10-05 29742/week @ 2024-10-12 28396/week @ 2024-10-19 30041/week @ 2024-10-26 29894/week @ 2024-11-02 30543/week @ 2024-11-09 32485/week @ 2024-11-16 26717/week @ 2024-11-23 33393/week @ 2024-11-30

127,791 downloads per month
Used in 69 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