Debian Codegraph @

debian/rust-vendor/zerovec/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 = "2021"
14 rust-version = "1.83"
15 name = "zerovec"
16 version = "0.11.8"
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 = "Zero-copy vector backed by a byte array"
36 readme = "README.md"
37 keywords = [
38 "zero-copy",
39 "serialization",
40 "memory-efficiency",
41 "serde",
42 ]
43 categories = [
44 "rust-patterns",
45 "memory-management",
46 "caching",
47 "no-std",
48 "data-structures",
49 ]
50 license = "Unicode-3.0"
51 repository = "https://github.com/unicode-org/icu4x"
52
53 [package.metadata.workspaces]
54 independent = true
55
56 [package.metadata.docs.rs]
57 all-features = true
58
59 [package.metadata.cargo-all-features]
60 max_combination_size = 3
61
62 [features]
63 alloc = ["serde?/alloc"]
64 databake = ["dep:databake"]
65 derive = ["dep:zerovec-derive"]
66 hashmap = [
67 "dep:twox-hash",
68 "alloc",
69 ]
70 schemars = [
71 "dep:schemars",
72 "alloc",
73 ]
74 serde = ["dep:serde"]
75 std = []
76 yoke = ["dep:yoke"]
77
78 [lib]
79 name = "zerovec"
80 path = "src/lib.rs"
81 bench = false
82
83 [[example]]
84 name = "zv_serde"
85 path = "examples/zv_serde.rs"
86 required-features = ["serde"]
87
88 [[bench]]
89 name = "vzv"
90 path = "benches/vzv.rs"
91 harness = false
92
93 [[bench]]
94 name = "zeromap"
95 path = "benches/zeromap.rs"
96 harness = false
97 required-features = [
98 "serde",
99 "hashmap",
100 "derive",
101 ]
102
103 [[bench]]
104 name = "zerovec"
105 path = "benches/zerovec.rs"
106 harness = false
107
108 [[bench]]
109 name = "zerovec_iai"
110 path = "benches/zerovec_iai.rs"
111 harness = false
112
113 [[bench]]
114 name = "zerovec_serde"
115 path = "benches/zerovec_serde.rs"
116 harness = false
117 required-features = ["serde"]
118
119 [dependencies.databake]
120 version = "0.2.0"
121 features = ["derive"]
122 optional = true
123 default-features = false
124
125 [dependencies.schemars]
126 version = "1.0.4"
127 optional = true
128 default-features = false
129
130 [dependencies.serde]
131 version = "1.0.220"
132 features = ["derive"]
133 optional = true
134 default-features = false
135
136 [dependencies.twox-hash]
137 version = "2.0.0"
138 features = ["xxhash64"]
139 optional = true
140 default-features = false
141
142 [dependencies.yoke]
143 version = "0.8.3"
144 optional = true
145 default-features = false
146
147 [dependencies.zerofrom]
148 version = "0.1.6"
149 default-features = false
150
151 [dependencies.zerovec-derive]
152 version = "0.11.5"
153 optional = true
154 default-features = false
155
156 [dev-dependencies.bincode]
157 version = "1.3.1"
158
159 [dev-dependencies.getrandom]
160 version = "0.3"
161 features = ["wasm_js"]
162
163 [dev-dependencies.iai]
164 version = "0.1.1"
165
166 [dev-dependencies.insta]
167 version = "1.43.2"
168 features = ["json"]
169
170 [dev-dependencies.postcard]
171 version = "1.0.3"
172 features = ["use-std"]
173 default-features = false
174
175 [dev-dependencies.rand]
176 version = "0.9"
177
178 [dev-dependencies.rand_distr]
179 version = "0.5"
180
181 [dev-dependencies.rand_pcg]
182 version = "0.9"
183
184 [dev-dependencies.rmp-serde]
185 version = "1.2.0"
186
187 [dev-dependencies.serde]
188 version = "1.0.220"
189 features = ["derive"]
190 default-features = false
191
192 [dev-dependencies.serde_json]
193 version = "1.0.45"
194
195 [dev-dependencies.yoke]
196 version = "0.8.3"
197 features = ["derive"]
198 default-features = false
199
200 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
201 version = "0.5.0"
202
203 [lints.clippy]
204 alloc_instead_of_core = "warn"
205 bool_assert_comparison = "allow"
206 branches_sharing_code = "warn"
207 collection_is_never_read = "warn"
208 crosspointer_transmute = "warn"
209 dbg_macro = "warn"
210 debug_assert_with_mut_call = "warn"
211 doc_markdown = "warn"
212 exhaustive_enums = "deny"
213 exhaustive_structs = "deny"
214 fn_to_numeric_cast_any = "warn"
215 infinite_loop = "warn"
216 large_stack_arrays = "warn"
217 mismatching_type_param_order = "warn"
218 missing_fields_in_debug = "warn"
219 missing_transmute_annotations = "warn"
220 negative_feature_names = "warn"
221 or_fun_call = "warn"
222 same_functions_in_if_condition = "warn"
223 todo = "warn"
224 transmute_bytes_to_str = "warn"
225 transmute_int_to_bool = "warn"
226 transmute_int_to_non_zero = "warn"
227 transmute_ptr_to_ptr = "warn"
228 transmute_ptr_to_ref = "warn"
229 transmute_undefined_repr = "warn"
230 transmutes_expressible_as_ptr_casts = "warn"
231 trivially_copy_pass_by_ref = "deny"
232 unnecessary_wraps = "warn"
233 useless_transmute = "warn"
234 wildcard_dependencies = "warn"
235
236 [lints.rust]
237 missing_debug_implementations = "deny"
238 trivial_numeric_casts = "deny"
239 unused_lifetimes = "warn"
240 unused_macro_rules = "warn"
241 unused_qualifications = "warn"
242
243 [lints.rust.unexpected_cfgs]
244 level = "warn"
245 priority = 0
246 check-cfg = [
247 "cfg(icu4c_enable_renaming)",
248 "cfg(needs_alloc_error_handler)",
249 "cfg(icu4x_nightly_tests)",
250 "cfg(icu4x_run_size_tests)",
251 "cfg(icu4x_unstable_fast_trie_only)",
252 ]