vtimezones-rs

Crates.iovtimezones-rs
lib.rsvtimezones-rs
version0.3.1
created_at2025-07-23 16:35:12.799863+00
updated_at2026-01-24 19:01:08.447401+00
descriptionProvides VTIMEZONE objects for tzdb timezones
homepagehttps://github.com/lennart-k/vtimezones-rs
repositoryhttps://github.com/lennart-k/vtimezones-rs
max_upload_size
id1765008
size19,429,778
Lennart Kämmle (lennart-k)

documentation

README

vtimezones-rs

Provides timezones from the IANA TZDB as VTIMEZONES for the iCalendar format.

Uses the timezone data from https://github.com/eggert/tz/ and https://github.com/libical/vzic for conversion.

Exports

pub static VTIMEZONES: phf::Map<&'static str, &'static str>;
pub const IANA_TZDB_VERSION: &str = "2025b";

This project is not affiliated with any of its dependencies.

Building

  • Run make to compile the timezones to ics
  • Run cargo build

The compilation is not included in build.rs because then gtk (which is a vzic dependency) would need to be available on any machine wanting to compile this crate.

Updating TZDB

  • git -C tzdata checkout <new version>
  • Update IANA_TZDB_VERSION in src/lib.rs
  • Update IANA_TZDB_VERSION in README.md
  • Run make
Commit count: 27

cargo fmt