You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.7 KiB
60 lines
1.7 KiB
[package]
|
|
name = "hashbrown"
|
|
version = "0.11.2"
|
|
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
|
|
description = "A Rust port of Google's SwissTable hash map"
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://github.com/rust-lang/hashbrown"
|
|
readme = "README.md"
|
|
keywords = ["hash", "no_std", "hashmap", "swisstable"]
|
|
categories = ["data-structures", "no-std"]
|
|
exclude = [".travis.yml", "bors.toml", "/ci/*"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
# For the default hasher
|
|
ahash = { version = "0.7.0", default-features = false, optional = true }
|
|
|
|
# For external trait impls
|
|
rayon = { version = "1.0", optional = true }
|
|
serde = { version = "1.0.25", default-features = false, optional = true }
|
|
|
|
# When built as part of libstd
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
|
compiler_builtins = { version = "0.1.2", optional = true }
|
|
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
|
|
|
|
# Optional support for bumpalo
|
|
bumpalo = { version = "3.5.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4"
|
|
rand = { version = "0.7.3", features = ["small_rng"] }
|
|
rayon = "1.0"
|
|
fnv = "1.0.7"
|
|
serde_test = "1.0"
|
|
doc-comment = "0.3.1"
|
|
|
|
[features]
|
|
default = ["ahash", "inline-more"]
|
|
|
|
ahash-compile-time-rng = ["ahash/compile-time-rng"]
|
|
nightly = []
|
|
rustc-internal-api = []
|
|
rustc-dep-of-std = [
|
|
"nightly",
|
|
"core",
|
|
"compiler_builtins",
|
|
"alloc",
|
|
"rustc-internal-api",
|
|
]
|
|
raw = []
|
|
|
|
# Enables usage of `#[inline]` on far more functions than by default in this
|
|
# crate. This may lead to a performance increase but often comes at a compile
|
|
# time cost.
|
|
inline-more = []
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["nightly", "rayon", "serde", "raw"]
|