[[bench]]
harness = false
name = "subtags"
required-features = ["bench"]
[[bench]]
harness = false
name = "langid"
[[bench]]
harness = false
name = "locale"
[[bench]]
harness = false
name = "iai_langid"
required-features = ["bench"]
[[example]]
name = "filter_langids"
test = true
[[example]]
name = "syntatically_canonicalize_locales"
test = true
[dependencies.databake]
default-features = false
features = ["derive"]
optional = true
version = "0.1.8"
[dependencies.displaydoc]
default-features = false
version = "0.2.3"
[dependencies.litemap]
default-features = false
features = ["alloc"]
version = "0.7.3"
[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0.110"
[dependencies.tinystr]
default-features = false
features = ["alloc"]
version = "0.7.5"
[dependencies.writeable]
default-features = false
version = "0.5.5"
[dependencies.zerovec]
default-features = false
optional = true
version = "0.10.2"
[dev-dependencies.iai]
version = "0.1.1"
[dev-dependencies.postcard]
default-features = false
features = ["use-std"]
version = "1.0.1"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.110"
[dev-dependencies.serde_json]
version = "1.0.45"
[features]
bench = ["serde"]
databake = ["dep:databake"]
serde = ["dep:serde", "tinystr/serde"]
std = []
zerovec = ["dep:zerovec"]
[lib]
bench = false
[package]
authors = ["The ICU4X Project Developers"]
categories = ["internationalization"]
description = "API for managing Unicode Language and Locale Identifiers"
edition = "2021"
homepage = "https://icu4x.unicode.org"
include = ["data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md"]
license = "Unicode-3.0"
name = "icu_locid"
readme = "README.md"
repository = "https://github.com/unicode-org/icu4x"
rust-version = "1.67"
version = "1.5.0"
[package.metadata.cargo-all-features]
denylist = ["bench"]
[package.metadata.docs.rs]
all-features = true
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
version = "0.5.0"