1[package]
2name = "sys-locale"
3version = "0.3.2"
4authors = ["1Password"]
5description = "Small and lightweight library to obtain the active system locale"
6keywords = ["locale", "i18n", "localization", "nostd"]
7repository = "https://github.com/1Password/sys-locale"
8edition = "2018"
9license = "MIT OR Apache-2.0"
10rust-version = "1.56"
11
12exclude = [
13 "/.github/",
14 "/examples/",
15 "/tests/",
16 "/.gitignore"
17]
18
19# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
20[target.'cfg(target_os = "android")'.dependencies]
21libc = "0.2"
22
23[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies]
24js-sys = { version = "0.3", optional = true }
25wasm-bindgen = { version = "0.2", optional = true }
26web-sys = { version = "0.3", features = ["Window", "WorkerGlobalScope", "Navigator", "WorkerNavigator"], optional = true }
27
28[features]
29js = ["js-sys", "wasm-bindgen", "web-sys"]
30
31[target.'cfg(all(target_family = "wasm", not(unix)))'.dev-dependencies]
32wasm-bindgen-test = "0.3"