# 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_pattern" description = "ICU pattern utilities" version = "0.2.0" authors.workspace = true edition.workspace = true include.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true [package.metadata.workspaces] independent = true [package.metadata.docs.rs] all-features = true [dependencies] either = { workspace = true } displaydoc = { workspace = true } writeable = { workspace = true, features = ["either"] } databake = { workspace = true, features = ["derive"], optional = true } litemap = { workspace = true, default-features = false, optional = true } serde = { workspace = true, features = ["derive", "alloc"], optional = true } yoke = { workspace = true, features = ["derive"], optional = true } zerofrom = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] zerofrom = { workspace = true, features = ["alloc"] } zerovec = { workspace = true, features = ["databake", "serde"] } rmp-serde = { workspace = true } serde_json = { workspace = true } postcard = { workspace = true, features = ["use-std"] } [features] alloc = [] std = ["alloc"] databake = ["dep:databake"] litemap = ["dep:litemap"] serde = ["alloc", "dep:serde"] yoke = ["dep:yoke"] zerofrom = ["dep:zerofrom"]