Debian Codegraph @

debian/missing-sources/icu_collections/Cargo.toml.orig

raw
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_collections"
7 description = "Collection of API for use in ICU libraries."
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.workspace = true
18
19 [package.metadata.docs.rs]
20 all-features = true
21
22 [dependencies]
23 displaydoc = { workspace = true }
24 yoke = { workspace = true, features = ["derive"] }
25 zerofrom = { workspace = true, features = ["derive"] }
26 zerovec = { workspace = true, features = ["derive", "yoke"] }
27 potential_utf = { workspace = true, features = ["zerovec"] }
28
29 serde = { workspace = true, features = ["derive"], optional = true }
30 databake = { workspace = true, features = ["derive"], optional = true }
31
32 [dev-dependencies]
33 iai = { workspace = true }
34 icu = { path = "../../components/icu", default-features = false }
35 icu_properties = { path = "../../components/properties" }
36 postcard = { workspace = true, features = ["alloc"] }
37 serde = { workspace = true, features = ["derive"] }
38 serde_json = { workspace = true }
39
40 toml = { workspace = true }
41
42 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
43 criterion = { workspace = true }
44
45 [features]
46 serde = ["dep:serde", "zerovec/serde", "potential_utf/serde", "alloc"]
47 databake = ["dep:databake", "zerovec/databake"]
48 alloc = ["serde?/alloc", "zerovec/alloc"]
49
50 [lib]
51 bench = false # This option is required for Benchmark CI
52
53 [[bench]]
54 name = "codepointtrie"
55 harness = false
56 path = "benches/codepointtrie.rs"
57
58 [[bench]]
59 name = "iai_cpt"
60 harness = false
61 path = "benches/iai_cpt.rs"
62
63 [[bench]]
64 name = "inv_list"
65 harness = false
66 path = "benches/inv_list.rs"