74 lines
1.7 KiB
TOML
74 lines
1.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
rust-version = "1.56"
|
|
name = "sys-locale"
|
|
version = "0.3.2"
|
|
authors = ["1Password"]
|
|
build = false
|
|
exclude = [
|
|
"/.github/",
|
|
"/examples/",
|
|
"/tests/",
|
|
"/.gitignore",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Small and lightweight library to obtain the active system locale"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"locale",
|
|
"i18n",
|
|
"localization",
|
|
"nostd",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/1Password/sys-locale"
|
|
|
|
[lib]
|
|
name = "sys_locale"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
js = [
|
|
"js-sys",
|
|
"wasm-bindgen",
|
|
"web-sys",
|
|
]
|
|
|
|
[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.js-sys]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.wasm-bindgen]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
"Window",
|
|
"WorkerGlobalScope",
|
|
"Navigator",
|
|
"WorkerNavigator",
|
|
]
|
|
optional = true
|
|
|
|
[target.'cfg(all(target_family = "wasm", not(unix)))'.dev-dependencies.wasm-bindgen-test]
|
|
version = "0.3"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.libc]
|
|
version = "0.2"
|