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