Debian Codegraph @

debian/missing-sources/icu_normalizer/Cargo.toml

raw symbols SCIP
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.83"
15 name = "icu_normalizer"
16 version = "2.1.1"
17 authors = ["The ICU4X Project Developers"]
18 build = false
19 include = [
20 "data/**/*",
21 "src/**/*",
22 "examples/**/*",
23 "benches/**/*",
24 "tests/**/*",
25 "Cargo.toml",
26 "LICENSE",
27 "README.md",
28 "build.rs",
29 ]
30 autolib = false
31 autobins = false
32 autoexamples = false
33 autotests = false
34 autobenches = false
35 description = "API for normalizing text into Unicode Normalization Forms"
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 categories = ["internationalization"]
39 license = "Unicode-3.0"
40 repository = "https://github.com/unicode-org/icu4x"
41
42 [package.metadata.docs.rs]
43 all-features = true
44
45 [features]
46 compiled_data = [
47 "dep:icu_normalizer_data",
48 "icu_properties?/compiled_data",
49 "icu_provider/baked",
50 ]
51 datagen = [
52 "serde",
53 "dep:databake",
54 "icu_properties",
55 "icu_collections/databake",
56 "zerovec/databake",
57 "icu_properties?/datagen",
58 "icu_provider/export",
59 ]
60 default = [
61 "compiled_data",
62 "utf8_iter",
63 "utf16_iter",
64 ]
65 experimental = []
66 icu_properties = ["dep:icu_properties"]
67 serde = [
68 "dep:serde",
69 "icu_collections/serde",
70 "zerovec/serde",
71 "icu_properties?/serde",
72 "icu_provider/serde",
73 ]
74 utf16_iter = [
75 "dep:utf16_iter",
76 "dep:write16",
77 ]
78 utf8_iter = ["dep:utf8_iter"]
79 write16 = []
80
81 [lib]
82 name = "icu_normalizer"
83 path = "src/lib.rs"
84
85 [[test]]
86 name = "tests"
87 path = "tests/tests.rs"
88
89 [[bench]]
90 name = "bench"
91 path = "benches/bench.rs"
92 harness = false
93 required-features = [
94 "utf16_iter",
95 "utf8_iter",
96 ]
97
98 [[bench]]
99 name = "canonical_composition"
100 path = "benches/canonical_composition.rs"
101
102 [[bench]]
103 name = "canonical_decomposition"
104 path = "benches/canonical_decomposition.rs"
105
106 [[bench]]
107 name = "composing_normalizer_nfc"
108 path = "benches/composing_normalizer_nfc.rs"
109
110 [[bench]]
111 name = "composing_normalizer_nfkc"
112 path = "benches/composing_normalizer_nfkc.rs"
113
114 [[bench]]
115 name = "decomposing_normalizer_nfd"
116 path = "benches/decomposing_normalizer_nfd.rs"
117
118 [[bench]]
119 name = "decomposing_normalizer_nfkd"
120 path = "benches/decomposing_normalizer_nfkd.rs"
121
122 [[bench]]
123 name = "utf16_throughput"
124 path = "benches/utf16_throughput.rs"
125
126 [dependencies.databake]
127 version = "0.2.0"
128 features = ["derive"]
129 optional = true
130 default-features = false
131
132 [dependencies.icu_collections]
133 version = "~2.1.1"
134 default-features = false
135
136 [dependencies.icu_normalizer_data]
137 version = "~2.1.1"
138 optional = true
139 default-features = false
140
141 [dependencies.icu_properties]
142 version = "~2.1.1"
143 optional = true
144 default-features = false
145
146 [dependencies.icu_provider]
147 version = "2.1.1"
148 default-features = false
149
150 [dependencies.serde]
151 version = "1.0.220"
152 features = [
153 "derive",
154 "alloc",
155 ]
156 optional = true
157 default-features = false
158
159 [dependencies.smallvec]
160 version = "1.10.0"
161 default-features = false
162
163 [dependencies.utf16_iter]
164 version = "1.0.2"
165 optional = true
166 default-features = false
167
168 [dependencies.utf8_iter]
169 version = "1.0.2"
170 optional = true
171 default-features = false
172
173 [dependencies.write16]
174 version = "1.0.0"
175 features = ["alloc"]
176 optional = true
177 default-features = false
178
179 [dependencies.zerovec]
180 version = "0.11.3"
181 default-features = false
182
183 [dev-dependencies.arraystring]
184 version = "0.3.0"
185
186 [dev-dependencies.arrayvec]
187 version = "0.7.2"
188 default-features = false
189
190 [dev-dependencies.atoi]
191 version = "2.0.0"
192
193 [dev-dependencies.detone]
194 version = "1.0.0"
195
196 [dev-dependencies.write16]
197 version = "1.0.0"
198 features = [
199 "arrayvec",
200 "smallvec",
201 ]
202 default-features = false
203
204 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
205 version = "0.5.0"
206
207 [lints.rust.unexpected_cfgs]
208 level = "warn"
209 priority = 0
210 check-cfg = ["cfg(icu4x_unstable_fast_trie_only)"]