[[bench]]
harness = false
name = "operands"
[[bench]]
harness = false
name = "parser"
required-features = ["serde"]
[[bench]]
harness = false
name = "pluralrules"
required-features = ["serde"]
[[example]]
name = "unread_emails"
required-features = ["serde"]
[[example]]
name = "elevator_floors"
required-features = ["serde"]
[[test]]
name = "plurals"
required-features = ["serde"]
[[test]]
name = "operands"
required-features = ["serde", "std", "experimental"]
[[test]]
name = "rules"
required-features = ["experimental"]
[dependencies.databake]
default-features = false
features = ["derive"]
optional = true
version = "0.1.8"
[dependencies.displaydoc]
default-features = false
version = "0.2.3"
[dependencies.fixed_decimal]
default-features = false
version = "0.5.6"
[dependencies.icu_locid_transform]
default-features = false
features = ["compiled_data"]
optional = true
version = "~1.5.0"
[dependencies.icu_plurals_data]
default-features = false
optional = true
version = "~1.5.0"
[dependencies.icu_provider]
default-features = false
features = ["macros"]
version = "~1.5.0"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1.0.110"
[dependencies.zerovec]
default-features = false
features = ["yoke"]
version = "0.10.2"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.110"
[dev-dependencies.serde_json]
version = "1.0.45"
[features]
bench = ["serde"]
compiled_data = ["dep:icu_plurals_data", "dep:icu_locid_transform"]
datagen = ["serde", "zerovec/databake", "dep:databake"]
default = ["compiled_data"]
experimental = []
serde = ["dep:serde", "zerovec/serde", "icu_provider/serde"]
std = ["fixed_decimal/std", "icu_provider/std"]
[lib]
bench = false
[package]
authors = ["The ICU4X Project Developers"]
categories = ["internationalization"]
description = "Unicode Plural Rules categorizer for numeric input"
edition = "2021"
homepage = "https://icu4x.unicode.org"
include = ["data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md"]
license = "Unicode-3.0"
name = "icu_plurals"
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"