| 1 |
# This file is part of ICU4X. For terms of use, please see the file |
| 2 |
# called LICENSE at the top level of the ICU4X source tree |
| 3 |
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| 4 |
|
| 5 |
[package] |
| 6 |
name = "icu_properties" |
| 7 |
description = "Definitions for Unicode properties" |
| 8 |
version = "2.1.2" |
| 9 |
|
| 10 |
authors.workspace = true |
| 11 |
categories.workspace = true |
| 12 |
edition.workspace = true |
| 13 |
homepage.workspace = true |
| 14 |
include.workspace = true |
| 15 |
license.workspace = true |
| 16 |
repository.workspace = true |
| 17 |
rust-version.workspace = true |
| 18 |
|
| 19 |
[package.metadata.docs.rs] |
| 20 |
all-features = true |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
icu_collections = { workspace = true } |
| 24 |
icu_provider = { workspace = true } |
| 25 |
zerovec = { workspace = true, features = ["derive", "yoke"] } |
| 26 |
zerotrie = { workspace = true, features = ["yoke", "zerofrom"] } |
| 27 |
databake = { workspace = true, features = ["derive"], optional = true} |
| 28 |
serde = { workspace = true, features = ["derive"], optional = true } |
| 29 |
icu_locale_core = { workspace = true, features = ["zerovec"] } |
| 30 |
|
| 31 |
unicode-bidi = { workspace = true, optional = true } |
| 32 |
|
| 33 |
icu_properties_data = { workspace = true, optional = true } |
| 34 |
|
| 35 |
[dev-dependencies] |
| 36 |
icu = { path = "../../components/icu", default-features = false } |
| 37 |
|
| 38 |
[features] |
| 39 |
default = ["compiled_data"] |
| 40 |
serde = ["dep:serde", "icu_locale_core/serde", "zerovec/serde", "icu_collections/serde", "icu_provider/serde", "zerotrie/serde"] |
| 41 |
datagen = ["serde", "dep:databake", "zerovec/databake", "icu_collections/databake", "icu_locale_core/databake", "zerotrie/databake", "icu_provider/export"] |
| 42 |
unicode_bidi = [ "dep:unicode-bidi" ] |
| 43 |
compiled_data = ["dep:icu_properties_data", "icu_provider/baked"] |
| 44 |
alloc = ["zerovec/alloc", "icu_collections/alloc", "serde?/alloc"] |
| 45 |
|
| 46 |
[package.metadata.cargo-semver-checks.lints] |
| 47 |
workspace = true |