Debian Codegraph @

debian/rust-vendor/icu_collator/Cargo.toml

raw
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 = "2024"
14 rust-version = "1.88"
15 name = "icu_collator"
16 version = "2.3.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 comparing strings according to language-dependent conventions"
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 keywords = [
39 "unicode",
40 "sorting",
41 "alphabetical",
42 ]
43 categories = [
44 "internationalization",
45 "localization",
46 "no-std",
47 "embedded",
48 ]
49 license = "Unicode-3.0"
50 repository = "https://github.com/unicode-org/icu4x"
51 resolver = "2"
52
53 [package.metadata.docs.rs]
54 all-features = true
55
56 [package.metadata.cargo-all-features]
57 max_combination_size = 3
58
59 [features]
60 compiled_data = [
61 "dep:icu_collator_data",
62 "icu_normalizer/compiled_data",
63 "dep:icu_locale_fallback",
64 "icu_locale_fallback?/compiled_data",
65 "icu_provider/baked",
66 ]
67 datagen = [
68 "serde",
69 "dep:databake",
70 "zerovec/databake",
71 "icu_properties/datagen",
72 "icu_normalizer/datagen",
73 "icu_collections/databake",
74 "icu_provider/export",
75 ]
76 default = ["compiled_data"]
77 latin1 = []
78 serde = [
79 "dep:serde",
80 "zerovec/serde",
81 "icu_properties/serde",
82 "icu_normalizer/serde",
83 "icu_collections/serde",
84 "icu_provider/serde",
85 ]
86 unstable = []
87
88 [lib]
89 name = "icu_collator"
90 path = "src/lib.rs"
91
92 [[test]]
93 name = "tests"
94 path = "tests/tests.rs"
95
96 [[bench]]
97 name = "bench"
98 path = "benches/bench.rs"
99 harness = false
100
101 [dependencies.databake]
102 version = "0.2.0"
103 features = ["derive"]
104 optional = true
105 default-features = false
106
107 [dependencies.icu_collator_data]
108 version = "~2.3.0"
109 optional = true
110 default-features = false
111
112 [dependencies.icu_collections]
113 version = "~2.3.0"
114 default-features = false
115
116 [dependencies.icu_locale_core]
117 version = "2.3.0"
118 features = ["alloc"]
119 default-features = false
120
121 [dependencies.icu_locale_fallback]
122 version = "~2.3.0"
123 optional = true
124 default-features = false
125
126 [dependencies.icu_normalizer]
127 version = "~2.3.0"
128 features = [
129 "utf8_iter",
130 "utf16_iter",
131 ]
132 default-features = false
133
134 [dependencies.icu_properties]
135 version = "~2.3.0"
136 default-features = false
137
138 [dependencies.icu_provider]
139 version = "2.3.0"
140 default-features = false
141
142 [dependencies.serde]
143 version = "1.0.220"
144 features = [
145 "derive",
146 "alloc",
147 ]
148 optional = true
149 default-features = false
150
151 [dependencies.smallvec]
152 version = "1.10.0"
153 features = [
154 "union",
155 "const_generics",
156 "const_new",
157 ]
158 default-features = false
159
160 [dependencies.utf16_iter]
161 version = "1.0.2"
162 default-features = false
163
164 [dependencies.utf8_iter]
165 version = "1.0.2"
166 default-features = false
167
168 [dependencies.zerovec]
169 version = "0.11.8"
170 default-features = false
171
172 [dev-dependencies.atoi]
173 version = "2.0.0"
174
175 [dev-dependencies.icu_normalizer_data]
176 version = "~2.3.0"
177 default-features = false
178
179 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
180 version = "0.5.0"
181
182 [lints.clippy]
183 alloc_instead_of_core = "warn"
184 bool_assert_comparison = "allow"
185 branches_sharing_code = "warn"
186 collection_is_never_read = "warn"
187 crosspointer_transmute = "warn"
188 dbg_macro = "warn"
189 debug_assert_with_mut_call = "warn"
190 doc_markdown = "warn"
191 exhaustive_enums = "deny"
192 exhaustive_structs = "deny"
193 fn_to_numeric_cast_any = "warn"
194 infinite_loop = "warn"
195 large_stack_arrays = "warn"
196 mismatching_type_param_order = "warn"
197 missing_fields_in_debug = "warn"
198 missing_transmute_annotations = "warn"
199 negative_feature_names = "warn"
200 or_fun_call = "warn"
201 same_functions_in_if_condition = "warn"
202 todo = "warn"
203 transmute_bytes_to_str = "warn"
204 transmute_int_to_bool = "warn"
205 transmute_int_to_non_zero = "warn"
206 transmute_ptr_to_ptr = "warn"
207 transmute_ptr_to_ref = "warn"
208 transmute_undefined_repr = "warn"
209 transmutes_expressible_as_ptr_casts = "warn"
210 trivially_copy_pass_by_ref = "deny"
211 unnecessary_wraps = "warn"
212 useless_transmute = "warn"
213 wildcard_dependencies = "warn"
214
215 [lints.rust]
216 missing_debug_implementations = "deny"
217 trivial_numeric_casts = "deny"
218 unused_lifetimes = "warn"
219 unused_macro_rules = "warn"
220 unused_qualifications = "warn"
221
222 [lints.rust.unexpected_cfgs]
223 level = "warn"
224 priority = 0
225 check-cfg = [
226 "cfg(icu4c_enable_renaming)",
227 "cfg(needs_alloc_error_handler)",
228 "cfg(icu4x_nightly_tests)",
229 "cfg(icu4x_run_size_tests)",
230 "cfg(icu4x_unstable_fast_trie_only)",
231 ]