Cargo Features

[dependencies]
griddle = { version = "0.6.0", default-features = false, features = ["ahash-compile-time-rng", "ahash", "serde", "rayon", "inline-more"] }
default = ahash, inline-more

These default features are set whenever griddle is added without default-features = false somewhere in the dependency tree.

ahash-compile-time-rng

Enables compile-time-rng of ahash

For the default hasher

ahash default = ahash_

Enables ahash of hashbrown ^0.14.0

serde = serde_

Enables serde of hashbrown ^0.14.0

rayon = rayon_

Enables rayon of hashbrown ^0.14.0

Affects griddle::hash_map.rayon, griddle::hash_set.rayon

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.14.0

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