icu_properties 1.5.1

Definitions for Unicode properties
Documentation
# 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_properties"
description = "Definitions for Unicode properties"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version = "1.5.1"

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

[dependencies]
displaydoc = { workspace = true }
icu_collections = { workspace = true }
icu_provider = { workspace = true, features = ["macros"] }
zerovec = { workspace = true, features = ["derive"] }
databake = { workspace = true, features = ["derive"], optional = true}
serde = { workspace = true, features = ["derive", "alloc"], optional = true }
tinystr = { workspace = true, features = ["alloc", "zerovec"] }

unicode-bidi = { workspace = true, optional = true }

icu_properties_data = { workspace = true, optional = true }
icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data"] }

[dev-dependencies]
icu = { path = "../../components/icu", default-features = false }

[features]
default = ["compiled_data"]
std = ["icu_collections/std", "icu_provider/std"]
serde = ["dep:serde", "tinystr/serde", "zerovec/serde", "icu_collections/serde", "icu_provider/serde"]
datagen = ["serde", "dep:databake", "zerovec/databake", "icu_collections/databake", "tinystr/databake"]
bidi = [ "dep:unicode-bidi" ]
compiled_data = ["dep:icu_properties_data", "dep:icu_locid_transform"]