Debian Codegraph @

debian/rust-vendor/icu_collections/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_collections"
16 version = "2.3.0"
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 = "Collection of API for use in ICU libraries."
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 keywords = [
39 "unicode",
40 "data-structures",
41 ]
42 categories = [
43 "internationalization",
44 "localization",
45 "no-std",
46 "embedded",
47 ]
48 license = "Unicode-3.0"
49 repository = "https://github.com/unicode-org/icu4x"
50 resolver = "2"
51
52 [package.metadata.docs.rs]
53 all-features = true
54
55 [package.metadata.cargo-all-features]
56 max_combination_size = 3
57
58 [features]
59 alloc = [
60 "serde?/alloc",
61 "zerovec/alloc",
62 ]
63 databake = [
64 "dep:databake",
65 "zerovec/databake",
66 ]
67 serde = [
68 "dep:serde",
69 "zerovec/serde",
70 "potential_utf/serde",
71 "alloc",
72 ]
73
74 [lib]
75 name = "icu_collections"
76 path = "src/lib.rs"
77 bench = false
78
79 [[test]]
80 name = "char16trie"
81 path = "tests/char16trie.rs"
82
83 [[test]]
84 name = "cpt"
85 path = "tests/cpt.rs"
86
87 [[bench]]
88 name = "codepointtrie"
89 path = "benches/codepointtrie.rs"
90 harness = false
91
92 [[bench]]
93 name = "iai_cpt"
94 path = "benches/iai_cpt.rs"
95 harness = false
96
97 [[bench]]
98 name = "inv_list"
99 path = "benches/inv_list.rs"
100 harness = false
101
102 [dependencies.databake]
103 version = "0.2.0"
104 features = ["derive"]
105 optional = true
106 default-features = false
107
108 [dependencies.displaydoc]
109 version = "0.2.3"
110 default-features = false
111
112 [dependencies.potential_utf]
113 version = "0.1.3"
114 features = ["zerovec"]
115 default-features = false
116
117 [dependencies.serde]
118 version = "1.0.220"
119 features = ["derive"]
120 optional = true
121 default-features = false
122
123 [dependencies.utf8_iter]
124 version = "1.0.2"
125 default-features = false
126
127 [dependencies.yoke]
128 version = "0.8.3"
129 features = ["derive"]
130 default-features = false
131
132 [dependencies.zerofrom]
133 version = "0.1.6"
134 features = ["derive"]
135 default-features = false
136
137 [dependencies.zerovec]
138 version = "0.11.7"
139 features = [
140 "derive",
141 "yoke",
142 ]
143 default-features = false
144
145 [dev-dependencies.iai]
146 version = "0.1.1"
147
148 [dev-dependencies.postcard]
149 version = "1.0.3"
150 features = ["alloc"]
151 default-features = false
152
153 [dev-dependencies.serde]
154 version = "1.0.220"
155 features = ["derive"]
156 default-features = false
157
158 [dev-dependencies.serde_json]
159 version = "1.0.45"
160
161 [dev-dependencies.toml]
162 version = "0.8.0"
163 features = ["parse"]
164 default-features = false
165
166 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
167 version = "0.5.0"
168
169 [lints.clippy]
170 alloc_instead_of_core = "warn"
171 bool_assert_comparison = "allow"
172 branches_sharing_code = "warn"
173 collection_is_never_read = "warn"
174 crosspointer_transmute = "warn"
175 dbg_macro = "warn"
176 debug_assert_with_mut_call = "warn"
177 doc_markdown = "warn"
178 exhaustive_enums = "deny"
179 exhaustive_structs = "deny"
180 fn_to_numeric_cast_any = "warn"
181 infinite_loop = "warn"
182 large_stack_arrays = "warn"
183 mismatching_type_param_order = "warn"
184 missing_fields_in_debug = "warn"
185 missing_transmute_annotations = "warn"
186 negative_feature_names = "warn"
187 or_fun_call = "warn"
188 same_functions_in_if_condition = "warn"
189 todo = "warn"
190 transmute_bytes_to_str = "warn"
191 transmute_int_to_bool = "warn"
192 transmute_int_to_non_zero = "warn"
193 transmute_ptr_to_ptr = "warn"
194 transmute_ptr_to_ref = "warn"
195 transmute_undefined_repr = "warn"
196 transmutes_expressible_as_ptr_casts = "warn"
197 trivially_copy_pass_by_ref = "deny"
198 unnecessary_wraps = "warn"
199 useless_transmute = "warn"
200 wildcard_dependencies = "warn"
201
202 [lints.rust]
203 missing_debug_implementations = "deny"
204 trivial_numeric_casts = "deny"
205 unused_lifetimes = "warn"
206 unused_macro_rules = "warn"
207 unused_qualifications = "warn"
208
209 [lints.rust.unexpected_cfgs]
210 level = "warn"
211 priority = 0
212 check-cfg = [
213 "cfg(icu4c_enable_renaming)",
214 "cfg(needs_alloc_error_handler)",
215 "cfg(icu4x_nightly_tests)",
216 "cfg(icu4x_run_size_tests)",
217 "cfg(icu4x_unstable_fast_trie_only)",
218 ]