Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "sys-locale"
3 version = "0.3.2"
4 authors = ["1Password"]
5 description = "Small and lightweight library to obtain the active system locale"
6 keywords = ["locale", "i18n", "localization", "nostd"]
7 repository = "https://github.com/1Password/sys-locale"
8 edition = "2018"
9 license = "MIT OR Apache-2.0"
10 rust-version = "1.56"
11
12 exclude = [
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]
21 libc = "0.2"
22
23 [target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies]
24 js-sys = { version = "0.3", optional = true }
25 wasm-bindgen = { version = "0.2", optional = true }
26 web-sys = { version = "0.3", features = ["Window", "WorkerGlobalScope", "Navigator", "WorkerNavigator"], optional = true }
27
28 [features]
29 js = ["js-sys", "wasm-bindgen", "web-sys"]
30
31 [target.'cfg(all(target_family = "wasm", not(unix)))'.dev-dependencies]
32 wasm-bindgen-test = "0.3"