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 | |
9 | authors.workspace = true |
10 | categories.workspace = true |
11 | edition.workspace = true |
12 | homepage.workspace = true |
13 | include.workspace = true |
14 | license.workspace = true |
15 | repository.workspace = true |
16 | rust-version.workspace = true |
17 | version = "1.5.1" |
18 | |
19 | [package.metadata.docs.rs] |
20 | all-features = true |
21 | |
22 | [dependencies] |
23 | displaydoc = { workspace = true } |
24 | icu_collections = { workspace = true } |
25 | icu_provider = { workspace = true, features = ["macros" ] } |
26 | zerovec = { workspace = true, features = ["derive" ] } |
27 | databake = { workspace = true, features = ["derive" ], optional = true} |
28 | serde = { workspace = true, features = ["derive" , "alloc" ], optional = true } |
29 | tinystr = { workspace = true, features = ["alloc" , "zerovec" ] } |
30 | |
31 | unicode-bidi = { workspace = true, optional = true } |
32 | |
33 | icu_properties_data = { workspace = true, optional = true } |
34 | icu_locid_transform = { workspace = true, optional = true, features = ["compiled_data" ] } |
35 | |
36 | [dev-dependencies] |
37 | icu = { path = "../../components/icu" , default-features = false } |
38 | |
39 | [features] |
40 | default = ["compiled_data" ] |
41 | std = ["icu_collections/std" , "icu_provider/std" ] |
42 | serde = ["dep:serde" , "tinystr/serde" , "zerovec/serde" , "icu_collections/serde" , "icu_provider/serde" ] |
43 | datagen = ["serde" , "dep:databake" , "zerovec/databake" , "icu_collections/databake" , "tinystr/databake" ] |
44 | bidi = [ "dep:unicode-bidi" ] |
45 | compiled_data = ["dep:icu_properties_data" , "dep:icu_locid_transform" ] |
46 | |