-
Notifications
You must be signed in to change notification settings - Fork 263
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (52 loc) · 2.33 KB
/
Cargo.toml
File metadata and controls
62 lines (52 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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_collator"
description = "API for comparing strings according to language-dependent conventions"
version.workspace = true
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
[package.metadata.docs.rs]
all-features = true
[dependencies]
icu_collections = { workspace = true }
icu_normalizer = { workspace = true, features = ["utf8_iter", "utf16_iter"] }
icu_locale_core = { workspace = true, features = ["alloc"] }
icu_properties = { workspace = true }
icu_provider = { workspace = true }
utf16_iter = { path = "../../../utf16_iter", features = ["icu_collections"] }
utf8_iter = { path = "../../../utf8_iter", features = ["icu_collections"] }
smallvec = { workspace = true, features = ["union", "const_generics", "const_new"] } # alloc
zerovec = { workspace = true }
databake = { workspace = true, optional = true, features = ["derive"] }
serde = { workspace = true, features = ["derive", "alloc"], optional = true }
icu_collator_data = { workspace = true, optional = true }
icu_locale = { workspace = true, optional = true }
[dev-dependencies]
arraystring = { workspace = true }
atoi = { workspace = true }
icu = { path = "../../components/icu", default-features = false }
icu_locale_core = { path = "../../components/locale_core" }
icu_provider_adapters = { path = "../../provider/adapters" }
icu_normalizer_data = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { workspace = true }
[features]
default = ["compiled_data"]
serde = ["dep:serde", "zerovec/serde", "icu_properties/serde", "icu_normalizer/serde", "icu_collections/serde", "icu_provider/serde"]
datagen = ["serde", "dep:databake", "zerovec/databake", "icu_properties/datagen", "icu_normalizer/datagen", "icu_collections/databake", "icu_provider/export"]
compiled_data = ["dep:icu_collator_data", "icu_normalizer/compiled_data", "dep:icu_locale", "icu_locale?/compiled_data", "icu_provider/baked"]
latin1 = []
unstable = []
[[bench]]
name = "bench"
harness = false
[lints]
workspace = true