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