[package]
name = "icu_list"
description = "ECMA-402 ListFormatter"
license.workspace = true
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[package.metadata.docs.rs]
all-features = true
[dependencies]
displaydoc = { workspace = true }
icu_provider = { workspace = true, features = ["macros"] }
regex-automata = { workspace = true }
writeable = { workspace = true }
databake = { workspace = true, features = ["derive"], optional = true}
deduplicating_array = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive", "alloc"], optional = true }
icu_list_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }
[dev-dependencies]
icu = { path = "../../components/icu", default-features = false }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
postcard = { workspace = true, features = ["use-std"] }
rmp-serde = { workspace = true }
serde_json = { workspace = true }
[features]
default = ["compiled_data"]
std = ["icu_provider/std"]
serde = ["dep:deduplicating_array", "dep:serde", "icu_provider/serde"]
serde_human = ["serde", "regex-automata/alloc"]
datagen = ["serde", "std", "dep:databake", "regex-automata/alloc"]
bench = []
compiled_data = ["dep:icu_list_data", "dep:icu_locid_transform"]
[package.metadata.cargo-all-features]
denylist = ["bench"]
[[example]]
name = "and_list"