44 lines
1.4 KiB
TOML
44 lines
1.4 KiB
TOML
[package]
|
|
name = "iana-time-zone"
|
|
description = "get the IANA time zone for the current system"
|
|
# Origin version is: 0.1.54, modify the version to 0.1.53
|
|
version = "0.1.53"
|
|
authors = [
|
|
"Andrew Straw <strawman@astraw.com>",
|
|
"René Kijewski <rene.kijewski@fu-berlin.de>",
|
|
"Ryan Lopopolo <rjl@hyperbo.la>",
|
|
]
|
|
repository = "https://github.com/strawlab/iana-time-zone"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["IANA", "time"]
|
|
categories = ["date-and-time", "internationalization", "os"]
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[features]
|
|
# When enabled, the library will succeed to compile for unknown target platforms, and return an `Err(GetTimezoneError::OsError)` at runtime.
|
|
fallback = []
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_system_properties = "0.1.5"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
core-foundation-sys = "0.8.3"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows-sys = { version = "0.42.0", features = ["Win32_Globalization", "Win32_System_Com", "Win32_System_WinRT"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
js-sys = "0.3.50"
|
|
wasm-bindgen = "0.2.70"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[target.'cfg(target_os = "haiku")'.dependencies]
|
|
iana-time-zone-haiku = { version = "0.1.1", path = "haiku" }
|
|
|
|
[workspace]
|
|
members = [".", "haiku"]
|
|
default-members = ["."]
|