Cargo Features

[dependencies]
rapidhash = { version = "1.1.0", default-features = false, features = ["std", "rand", "rng", "unsafe"] }
default = std

The std feature is set by default whenever rapidhash is added without default-features = false somewhere in the dependency tree.

std default rand?

enable std library for RapidHashMap and RapidHashSet helpers

Affects rapid_hasher::RapidHashMap, rapid_hasher::RapidHashSet, rapid_hasher_inline::RapidInlineHashMap, rapid_hasher_inline::RapidInlineHashSet, rng::rapidrng_time

rand = std

enable the rand library for random seed initialisation and RapidRandomState

Enables rand

rng

fast random number generator using rapidhash

Enables rand_core

unsafe

enable unsafe pointer arithmetic to skip unnecessary bounds checks