| 1 |
[package] |
| 2 |
name = "iana-time-zone" |
| 3 |
description = "get the IANA time zone for the current system" |
| 4 |
version = "0.1.65" |
| 5 |
authors = [ |
| 6 |
"Andrew Straw <[email protected]>", |
| 7 |
"René Kijewski <[email protected]>", |
| 8 |
"Ryan Lopopolo <[email protected]>", |
| 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 = "2021" |
| 16 |
rust-version = "1.62.0" |
| 17 |
|
| 18 |
[features] |
| 19 |
# When enabled, the library will succeed to compile for unknown target platforms, and return an `Err(GetTimezoneError::OsError)` at runtime. |
| 20 |
fallback = [] |
| 21 |
|
| 22 |
[target.'cfg(target_os = "android")'.dependencies] |
| 23 |
android_system_properties = "0.1.5" |
| 24 |
|
| 25 |
[target.'cfg(target_vendor = "apple")'.dependencies] |
| 26 |
core-foundation-sys = "0.8.6" |
| 27 |
|
| 28 |
[target.'cfg(target_os = "windows")'.dependencies] |
| 29 |
windows-core = ">=0.56, <=0.62" |
| 30 |
|
| 31 |
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] |
| 32 |
js-sys = "0.3.66" |
| 33 |
# Set a minimum, but unused, dependency on `log` to ensure that cfg-if 1.0.0 |
| 34 |
# gets pulled in in a minimal versions build for the indirect dependency from |
| 35 |
# `wasm-bindgen`. |
| 36 |
log = "0.4.14" |
| 37 |
wasm-bindgen = "0.2.89" |
| 38 |
|
| 39 |
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies] |
| 40 |
wasm-bindgen-test = "0.3.46" |
| 41 |
getrandom = { version = "0.2.1", features = ["js"] } |
| 42 |
|
| 43 |
[target.'cfg(target_os = "haiku")'.dependencies] |
| 44 |
iana-time-zone-haiku = { version = "0.1.1", path = "haiku" } |
| 45 |
|
| 46 |
[dev-dependencies] |
| 47 |
chrono-tz = "0.10.1" |
| 48 |
# Set a minimum, but unused, dependency on `getrandom` to ensure that cfg-if |
| 49 |
# 1.0.0 gets pulled in in a minimal versions build for the indirect dependency |
| 50 |
# from `chrono`. |
| 51 |
getrandom = "0.2.1" |
| 52 |
|
| 53 |
[workspace] |
| 54 |
members = [".", "haiku"] |
| 55 |
default-members = ["."] |