| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.65.0" |
| 15 |
name = "hashbrown" |
| 16 |
version = "0.16.1" |
| 17 |
authors = ["Amanieu d'Antras <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
".github", |
| 21 |
"/ci/*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "A Rust port of Google's SwissTable hash map" |
| 29 |
readme = "README.md" |
| 30 |
keywords = [ |
| 31 |
"hash", |
| 32 |
"no_std", |
| 33 |
"hashmap", |
| 34 |
"swisstable", |
| 35 |
] |
| 36 |
categories = [ |
| 37 |
"data-structures", |
| 38 |
"no-std", |
| 39 |
] |
| 40 |
license = "MIT OR Apache-2.0" |
| 41 |
repository = "https://github.com/rust-lang/hashbrown" |
| 42 |
|
| 43 |
[package.metadata.docs.rs] |
| 44 |
features = [ |
| 45 |
"nightly", |
| 46 |
"rayon", |
| 47 |
"serde", |
| 48 |
"raw-entry", |
| 49 |
] |
| 50 |
rustdoc-args = ["--generate-link-to-definition"] |
| 51 |
|
| 52 |
[features] |
| 53 |
default = [ |
| 54 |
"default-hasher", |
| 55 |
"inline-more", |
| 56 |
"allocator-api2", |
| 57 |
"equivalent", |
| 58 |
"raw-entry", |
| 59 |
] |
| 60 |
default-hasher = ["dep:foldhash"] |
| 61 |
inline-more = [] |
| 62 |
nightly = [ |
| 63 |
"foldhash?/nightly", |
| 64 |
"bumpalo/allocator_api", |
| 65 |
] |
| 66 |
raw-entry = [] |
| 67 |
rustc-dep-of-std = [ |
| 68 |
"nightly", |
| 69 |
"core", |
| 70 |
"alloc", |
| 71 |
"rustc-internal-api", |
| 72 |
] |
| 73 |
rustc-internal-api = [] |
| 74 |
serde = [ |
| 75 |
"dep:serde_core", |
| 76 |
"dep:serde", |
| 77 |
] |
| 78 |
|
| 79 |
[lib] |
| 80 |
name = "hashbrown" |
| 81 |
path = "src/lib.rs" |
| 82 |
|
| 83 |
[[test]] |
| 84 |
name = "equivalent_trait" |
| 85 |
path = "tests/equivalent_trait.rs" |
| 86 |
|
| 87 |
[[test]] |
| 88 |
name = "hasher" |
| 89 |
path = "tests/hasher.rs" |
| 90 |
|
| 91 |
[[test]] |
| 92 |
name = "rayon" |
| 93 |
path = "tests/rayon.rs" |
| 94 |
|
| 95 |
[[test]] |
| 96 |
name = "serde" |
| 97 |
path = "tests/serde.rs" |
| 98 |
|
| 99 |
[[test]] |
| 100 |
name = "set" |
| 101 |
path = "tests/set.rs" |
| 102 |
|
| 103 |
[[bench]] |
| 104 |
name = "bench" |
| 105 |
path = "benches/bench.rs" |
| 106 |
|
| 107 |
[[bench]] |
| 108 |
name = "insert_unique_unchecked" |
| 109 |
path = "benches/insert_unique_unchecked.rs" |
| 110 |
|
| 111 |
[[bench]] |
| 112 |
name = "set_ops" |
| 113 |
path = "benches/set_ops.rs" |
| 114 |
|
| 115 |
[[bench]] |
| 116 |
name = "with_capacity" |
| 117 |
path = "benches/with_capacity.rs" |
| 118 |
|
| 119 |
[dependencies.alloc] |
| 120 |
version = "1.0.0" |
| 121 |
optional = true |
| 122 |
package = "rustc-std-workspace-alloc" |
| 123 |
|
| 124 |
[dependencies.allocator-api2] |
| 125 |
version = "0.2.9" |
| 126 |
features = ["alloc"] |
| 127 |
optional = true |
| 128 |
default-features = false |
| 129 |
|
| 130 |
[dependencies.core] |
| 131 |
version = "1.0.0" |
| 132 |
optional = true |
| 133 |
package = "rustc-std-workspace-core" |
| 134 |
|
| 135 |
[dependencies.equivalent] |
| 136 |
version = "1.0" |
| 137 |
optional = true |
| 138 |
default-features = false |
| 139 |
|
| 140 |
[dependencies.foldhash] |
| 141 |
version = "0.2.0" |
| 142 |
optional = true |
| 143 |
default-features = false |
| 144 |
|
| 145 |
[dependencies.rayon] |
| 146 |
version = "1.9.0" |
| 147 |
optional = true |
| 148 |
|
| 149 |
[dependencies.serde_core] |
| 150 |
version = "1.0.221" |
| 151 |
optional = true |
| 152 |
default-features = false |
| 153 |
|
| 154 |
[dev-dependencies.bumpalo] |
| 155 |
version = "3.13.0" |
| 156 |
features = ["allocator-api2"] |
| 157 |
|
| 158 |
[dev-dependencies.fnv] |
| 159 |
version = "1.0.7" |
| 160 |
|
| 161 |
[dev-dependencies.lazy_static] |
| 162 |
version = "1.4" |
| 163 |
|
| 164 |
[dev-dependencies.rand] |
| 165 |
version = "0.9.0" |
| 166 |
features = ["small_rng"] |
| 167 |
|
| 168 |
[dev-dependencies.rayon] |
| 169 |
version = "1.2" |
| 170 |
|
| 171 |
[dev-dependencies.serde_test] |
| 172 |
version = "1.0" |
| 173 |
|
| 174 |
[target."cfg(any())".dependencies.serde] |
| 175 |
version = "1.0.220" |
| 176 |
optional = true |
| 177 |
default-features = false |
| 178 |
|
| 179 |
[target."cfg(unix)".dev-dependencies.libc] |
| 180 |
version = "0.2.155" |