# This file is part of ICU4X. For terms of use, please see the file # called LICENSE at the top level of the ICU4X source tree # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). [package] name = "icu_codepointtrie" description = "API for an efficient trie of data for Unicode code points" version = "0.4.0" authors = ["The ICU4X Project Developers"] edition = "2018" readme = "README.md" repository = "https://github.com/unicode-org/icu4x" license-file = "LICENSE" categories = ["internationalization"] # Keep this in sync with other crates unless there are exceptions include = [ "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md" ] [package.metadata.cargo-all-features] skip_optional_dependencies = true # Bench feature gets tested separately and is only relevant for CI denylist = ["bench"] [package.metadata.docs.rs] all-features = true [dependencies] displaydoc = { version = "0.2.3", default-features = false } icu_uniset = { version = "0.5.0", path = "../uniset" } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true } yoke = { version = "0.5.0", path = "../yoke", features = ["derive"] } zerofrom = { version = "0.1.0", path = "../zerofrom", features = ["derive"] } zerovec = { version = "0.7", path = "../zerovec", features = ["yoke"] } [dev-dependencies] postcard = { version = "0.7", features = ["alloc"] } toml = "0.5" serde = { version = "1.0", features = ["derive"] } [lib] bench = false # This option is required for Benchmark CI path = "src/lib.rs" [features] default = [] serde = ["dep:serde", "zerovec/serde", "icu_uniset/serde"] serde_serialize = ["serde", "zerovec/serde_serialize", "icu_uniset/serde_serialize"]