# 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"
name = "icu_list"
version = "1.1.0"
authors = ["The ICU4X Project Developers"]
include = [
    "src/**/*",
    "examples/**/*",
    "benches/**/*",
    "tests/**/*",
    "Cargo.toml",
    "LICENSE",
    "README.md",
]
description = "ECMA-402 ListFormatter"
readme = "README.md"
categories = ["internationalization"]
license = "Unicode-DFS-2016"
repository = "https://github.com/unicode-org/icu4x"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[package.metadata.cargo-all-features]
denylist = ["bench"]

[[example]]
name = "and_list"

[dependencies.databake]
version = "0.1.3"
features = ["derive"]
optional = true

[dependencies.deduplicating_array]
version = "0.1.3"
optional = true

[dependencies.displaydoc]
version = "0.2.3"
default-features = false

[dependencies.icu_provider]
version = "1.1.0"
features = ["macros"]

[dependencies.regex-automata]
version = "0.2"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.writeable]
version = "0.5.1"

[dev-dependencies.postcard]
version = "1.0.0"
features = ["use-std"]

[dev-dependencies.serde_json]
version = "1"

[features]
bench = []
datagen = [
    "serde",
    "std",
    "dep:databake",
    "regex-automata/alloc",
]
serde = [
    "dep:deduplicating_array",
    "dep:serde",
    "icu_provider/serde",
]
serde_human = [
    "serde",
    "regex-automata/alloc",
]
std = ["icu_provider/std"]
