Debian Codegraph @

debian/rust-vendor/hashbrown/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.85.0"
15 name = "hashbrown"
16 version = "0.17.1"
17 build = false
18 exclude = [
19 ".github",
20 "/ci/*",
21 ]
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 description = "A Rust port of Google's SwissTable hash map"
28 readme = "README.md"
29 keywords = [
30 "hash",
31 "no_std",
32 "hashmap",
33 "swisstable",
34 ]
35 categories = [
36 "data-structures",
37 "no-std",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/rust-lang/hashbrown"
41
42 [package.metadata.docs.rs]
43 features = [
44 "nightly",
45 "rayon",
46 "serde",
47 "raw-entry",
48 ]
49 rustdoc-args = ["--generate-link-to-definition"]
50
51 [features]
52 default = [
53 "default-hasher",
54 "inline-more",
55 "allocator-api2",
56 "equivalent",
57 "raw-entry",
58 ]
59 default-hasher = ["dep:foldhash"]
60 inline-more = []
61 nightly = [
62 "foldhash?/nightly",
63 "bumpalo/allocator_api",
64 ]
65 raw-entry = []
66 rustc-dep-of-std = [
67 "nightly",
68 "core",
69 "alloc",
70 "rustc-internal-api",
71 ]
72 rustc-internal-api = []
73 serde = [
74 "dep:serde_core",
75 "dep:serde",
76 ]
77
78 [lib]
79 name = "hashbrown"
80 path = "src/lib.rs"
81
82 [[test]]
83 name = "equivalent_trait"
84 path = "tests/equivalent_trait.rs"
85
86 [[test]]
87 name = "hasher"
88 path = "tests/hasher.rs"
89
90 [[test]]
91 name = "hasher_unwind"
92 path = "tests/hasher_unwind.rs"
93
94 [[test]]
95 name = "rayon"
96 path = "tests/rayon.rs"
97
98 [[test]]
99 name = "serde"
100 path = "tests/serde.rs"
101
102 [[test]]
103 name = "set"
104 path = "tests/set.rs"
105
106 [[bench]]
107 name = "bench"
108 path = "benches/bench.rs"
109 harness = false
110
111 [dependencies.alloc]
112 version = "1.0.0"
113 optional = true
114 package = "rustc-std-workspace-alloc"
115
116 [dependencies.allocator-api2]
117 version = "0.2.9"
118 features = ["alloc"]
119 optional = true
120 default-features = false
121
122 [dependencies.core]
123 version = "1.0.0"
124 optional = true
125 package = "rustc-std-workspace-core"
126
127 [dependencies.equivalent]
128 version = "1.0"
129 optional = true
130 default-features = false
131
132 [dependencies.foldhash]
133 version = "0.2.0"
134 optional = true
135 default-features = false
136
137 [dependencies.rayon]
138 version = "1.9.0"
139 optional = true
140
141 [dependencies.serde_core]
142 version = "1.0.221"
143 optional = true
144 default-features = false
145
146 [dev-dependencies.bumpalo]
147 version = "3.13.0"
148 features = ["allocator-api2"]
149
150 [dev-dependencies.criterion]
151 version = "0.7"
152 features = ["html_reports"]
153
154 [dev-dependencies.fnv]
155 version = "1.0.7"
156
157 [dev-dependencies.rand]
158 version = "0.9.0"
159 features = ["small_rng"]
160
161 [dev-dependencies.rayon]
162 version = "1.2"
163
164 [dev-dependencies.serde_test]
165 version = "1.0"
166
167 [target."cfg(any())".dependencies.serde]
168 version = "1.0.220"
169 optional = true
170 default-features = false
171
172 [target."cfg(unix)".dev-dependencies.libc]
173 version = "0.2.155"
174
175 [lints.clippy]
176 borrow_as_ptr = "warn"
177 doc_markdown = "allow"
178 manual_let_else = "warn"
179 manual_map = "allow"
180 missing_errors_doc = "allow"
181 missing_safety_doc = "allow"
182 module_name_repetitions = "allow"
183 must_use_candidate = "allow"
184 needless_continue = "warn"
185 option_if_let_else = "allow"
186 ptr_as_ptr = "warn"
187 ptr_cast_constness = "warn"
188 redundant_else = "warn"
189 ref_as_ptr = "warn"
190 semicolon_if_nothing_returned = "warn"
191 str_to_string = "warn"
192
193 [lints.rust]
194 bare_trait_objects = "warn"
195 elided_lifetimes_in_paths = "warn"
196 ellipsis_inclusive_range_patterns = "warn"
197 explicit_outlives_requirements = "warn"
198 missing_docs = "warn"
199 unreachable_pub = "warn"
200 unsafe_op_in_unsafe_fn = "warn"
201 unused_extern_crates = "warn"