Cargo Features
[dependencies]
griddle = { version = "0.5.2", default-features = false, features = ["ahash-compile-time-rng", "ahash", "serde", "rayon", "raw", "inline-more"] }
- default = ahash, inline-more
-
These default features are set whenever
griddle
is added without
somewhere in the dependency tree.default-features = false - ahash-compile-time-rng
-
Enables compile-time-rng of ahash ^0.7.0
For the default hasher
- ahash default = ahash_
-
Enables ahash of hashbrown ^0.11.2
- serde = serde_
-
Enables serde of hashbrown ^0.11.2
- rayon = rayon_
-
Enables rayon of hashbrown ^0.11.2
Affects
griddle::raw.rayon
,griddle::hash_map.rayon
,griddle::hash_set.rayon
… - raw
-
Affects
griddle::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.Enables inline-more of hashbrown ^0.11.2
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.
- rayon_ rayon?
-
Enables rayon
For external trait impls
- serde_ serde?
-
Enables serde
- ahash_ ahash ahash-compile-time-rng?
-
Enables ahash ^0.7.0