[[bench]]
name = "bench"
path = "benches/bench.rs"
[[bench]]
name = "insert_unique_unchecked"
path = "benches/insert_unique_unchecked.rs"
[[bench]]
name = "set_ops"
path = "benches/set_ops.rs"
[dependencies.alloc]
optional = true
package = "rustc-std-workspace-alloc"
version = "1.0.0"
[dependencies.allocator-api2]
default-features = false
features = ["alloc"]
optional = true
version = "0.2.9"
[dependencies.compiler_builtins]
optional = true
version = "0.1.2"
[dependencies.core]
optional = true
package = "rustc-std-workspace-core"
version = "1.0.0"
[dependencies.equivalent]
default-features = false
optional = true
version = "1.0"
[dependencies.foldhash]
default-features = false
optional = true
version = "0.1.2"
[dependencies.rayon]
optional = true
version = "1.2"
[dependencies.serde]
default-features = false
optional = true
version = "1.0.25"
[dev-dependencies.bumpalo]
features = ["allocator-api2"]
version = "3.13.0"
[dev-dependencies.doc-comment]
version = "0.3.1"
[dev-dependencies.fnv]
version = "1.0.7"
[dev-dependencies.lazy_static]
version = "1.4"
[dev-dependencies.rand]
features = ["small_rng"]
version = "0.8.3"
[dev-dependencies.rayon]
version = "1.2"
[dev-dependencies.serde_test]
version = "1.0"
[features]
default = ["default-hasher", "inline-more", "allocator-api2", "equivalent", "raw-entry"]
default-hasher = ["dep:foldhash"]
inline-more = []
nightly = ["allocator-api2?/nightly", "bumpalo/allocator_api"]
raw-entry = []
rustc-dep-of-std = ["nightly", "core", "compiler_builtins", "alloc", "rustc-internal-api", "raw-entry"]
rustc-internal-api = []
[lib]
name = "hashbrown"
path = "src/lib.rs"
[package]
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["data-structures", "no-std"]
description = "A Rust port of Google's SwissTable hash map"
edition = "2021"
exclude = [".github", "/ci/*"]
keywords = ["hash", "no_std", "hashmap", "swisstable"]
license = "MIT OR Apache-2.0"
name = "hashbrown"
readme = "README.md"
repository = "https://github.com/rust-lang/hashbrown"
rust-version = "1.65.0"
version = "0.15.1"
[package.metadata.docs.rs]
features = ["nightly", "rayon", "serde", "raw-entry"]
rustdoc-args = ["--generate-link-to-definition"]
[[test]]
name = "equivalent_trait"
path = "tests/equivalent_trait.rs"
[[test]]
name = "hasher"
path = "tests/hasher.rs"
[[test]]
name = "rayon"
path = "tests/rayon.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "set"
path = "tests/set.rs"