| 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.65.0" |
| 15 |
name = "hashbrown" |
| 16 |
version = "0.15.2" |
| 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 |
[lib] |
| 53 |
name = "hashbrown" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "equivalent_trait" |
| 58 |
path = "tests/equivalent_trait.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "hasher" |
| 62 |
path = "tests/hasher.rs" |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "rayon" |
| 66 |
path = "tests/rayon.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "serde" |
| 70 |
path = "tests/serde.rs" |
| 71 |
|
| 72 |
[[test]] |
| 73 |
name = "set" |
| 74 |
path = "tests/set.rs" |
| 75 |
|
| 76 |
[[bench]] |
| 77 |
name = "bench" |
| 78 |
path = "benches/bench.rs" |
| 79 |
|
| 80 |
[[bench]] |
| 81 |
name = "insert_unique_unchecked" |
| 82 |
path = "benches/insert_unique_unchecked.rs" |
| 83 |
|
| 84 |
[[bench]] |
| 85 |
name = "set_ops" |
| 86 |
path = "benches/set_ops.rs" |
| 87 |
|
| 88 |
[dependencies.alloc] |
| 89 |
version = "1.0.0" |
| 90 |
optional = true |
| 91 |
package = "rustc-std-workspace-alloc" |
| 92 |
|
| 93 |
[dependencies.allocator-api2] |
| 94 |
version = "0.2.9" |
| 95 |
features = ["alloc"] |
| 96 |
optional = true |
| 97 |
default-features = false |
| 98 |
|
| 99 |
[dependencies.compiler_builtins] |
| 100 |
version = "0.1.2" |
| 101 |
optional = true |
| 102 |
|
| 103 |
[dependencies.core] |
| 104 |
version = "1.0.0" |
| 105 |
optional = true |
| 106 |
package = "rustc-std-workspace-core" |
| 107 |
|
| 108 |
[dependencies.equivalent] |
| 109 |
version = "1.0" |
| 110 |
optional = true |
| 111 |
default-features = false |
| 112 |
|
| 113 |
[dependencies.foldhash] |
| 114 |
version = "0.1.2" |
| 115 |
optional = true |
| 116 |
default-features = false |
| 117 |
|
| 118 |
[dependencies.rayon] |
| 119 |
version = "1.2" |
| 120 |
optional = true |
| 121 |
|
| 122 |
[dependencies.serde] |
| 123 |
version = "1.0.25" |
| 124 |
optional = true |
| 125 |
default-features = false |
| 126 |
|
| 127 |
[dev-dependencies.bumpalo] |
| 128 |
version = "3.13.0" |
| 129 |
features = ["allocator-api2"] |
| 130 |
|
| 131 |
[dev-dependencies.doc-comment] |
| 132 |
version = "0.3.1" |
| 133 |
|
| 134 |
[dev-dependencies.fnv] |
| 135 |
version = "1.0.7" |
| 136 |
|
| 137 |
[dev-dependencies.lazy_static] |
| 138 |
version = "1.4" |
| 139 |
|
| 140 |
[dev-dependencies.rand] |
| 141 |
version = "0.8.3" |
| 142 |
features = ["small_rng"] |
| 143 |
|
| 144 |
[dev-dependencies.rayon] |
| 145 |
version = "1.2" |
| 146 |
|
| 147 |
[dev-dependencies.serde_test] |
| 148 |
version = "1.0" |
| 149 |
|
| 150 |
[features] |
| 151 |
default = [ |
| 152 |
"default-hasher", |
| 153 |
"inline-more", |
| 154 |
"allocator-api2", |
| 155 |
"equivalent", |
| 156 |
"raw-entry", |
| 157 |
] |
| 158 |
default-hasher = ["dep:foldhash"] |
| 159 |
inline-more = [] |
| 160 |
nightly = [ |
| 161 |
"allocator-api2?/nightly", |
| 162 |
"bumpalo/allocator_api", |
| 163 |
] |
| 164 |
raw-entry = [] |
| 165 |
rustc-dep-of-std = [ |
| 166 |
"nightly", |
| 167 |
"core", |
| 168 |
"compiler_builtins", |
| 169 |
"alloc", |
| 170 |
"rustc-internal-api", |
| 171 |
"raw-entry", |
| 172 |
] |
| 173 |
rustc-internal-api = [] |