1include!(concat!(env!("OUT_DIR"), "/timezones.rs"));
2
3pub const IANA_TZDB_VERSION: &str = "2025b";
4
5#[cfg(test)]
6mod tests {
7 use crate::VTIMEZONES;
8
9 #[test]
10 fn test_basic() {
11 assert!(VTIMEZONES.get("Europe/Berlin").is_some());
12 }
13
14 #[test]
15 fn test_symlink() {
16 assert!(VTIMEZONES.get("Africa/Bamako").is_some());
17 }
18
19 #[test]
20 fn test_symlinks_disabled() {
21 assert!(
22 VTIMEZONES
23 .get("Europe/Amsterdam")
24 .unwrap()
25 .contains("Europe/Amsterdam")
26 );
27 }
28}