Cargo Features
[dependencies]
hashbrown_tstd = { version = "0.7.1", default-features = false, features = ["ahash-compile-time-rng", "rustc-internal-api", "rustc-dep-of-std", "raw", "inline-more", "rayon", "serde"] }
- default = ahash, ahash-compile-time-rng, inline-more
-
These default features are set whenever
hashbrown_tstd
is added without
somewhere in the dependency tree.default-features = false - ahash-compile-time-rng default
-
Enables compile-time-rng of ahash ^0.3.2
For the default hasher
- nightly rustc-internal-api rustc-dep-of-std?
- rustc-dep-of-std = nightly, rustc-internal-api
- raw
-
Affects
hashbrown_tstd::raw
… - inline-more default
-
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.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ahash default ahash-compile-time-rng
-
Enables ahash ^0.3.2
Affects
map::DefaultHashBuilder
… - rayon implicit feature
-
Enables rayon
For external trait impls
Affects
hashbrown_tstd::raw.rayon
,hashbrown_tstd::hash_map.rayon
,hashbrown_tstd::hash_set.rayon
… - serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework