1[package]
2name = "iana-time-zone"
3description = "get the IANA time zone for the current system"
4version = "0.1.60"
5authors = [
6 "Andrew Straw <strawman@astraw.com>",
7 "René Kijewski <rene.kijewski@fu-berlin.de>",
8 "Ryan Lopopolo <rjl@hyperbo.la>",
9]
10repository = "https://github.com/strawlab/iana-time-zone"
11license = "MIT OR Apache-2.0"
12keywords = ["IANA", "time"]
13categories = ["date-and-time", "internationalization", "os"]
14readme = "README.md"
15edition = "2018"
16
17[features]
18# When enabled, the library will succeed to compile for unknown target platforms, and return an `Err(GetTimezoneError::OsError)` at runtime.
19fallback = []
20
21[target.'cfg(target_os = "android")'.dependencies]
22android_system_properties = "0.1.5"
23
24[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
25core-foundation-sys = "0.8.3"
26
27[target.'cfg(target_os = "windows")'.dependencies]
28windows-core = { version = ">=0.50, <=0.52" }
29
30[target.'cfg(target_arch = "wasm32")'.dependencies]
31js-sys = "0.3.50"
32wasm-bindgen = "0.2.70"
33
34[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
35wasm-bindgen-test = "0.3"
36
37[target.'cfg(target_os = "haiku")'.dependencies]
38iana-time-zone-haiku = { version = "0.1.1", path = "haiku" }
39
40[workspace]
41members = [".", "haiku"]
42default-members = ["."]
43