Cargo Features

anyhash has no features set by default.

[dependencies]
anyhash = { version = "0.1.3", features = ["std", "alloc", "nightly", "bnum", "bytemuck", "fnv", "spooky", "xxh64"] }
std = alloc

Affects fnv::Fnv1aHashMap, fnv::Fnv1aHashMapDefault, fnv::Fnv1aHashSet, fnv::Fnv1aHashSetDefault, spooky::SpookyHashMap, spooky::SpookyHashMapDefault, spooky::SpookyHashSet, spooky::SpookyHashSetDefault, xxh64::XXh64HashMap, xxh64::XXh64HashMapDefault, xxh64::XXh64HashSet, xxh64::XXh64HashSetDefault

alloc std?
nightly
bnum

optional integrations

Enables bnum

<0.13 can be updated if bnum releases another compatible 0.x version

Affects fnv::Fnv1a256, fnv::Fnv1a512, fnv::Fnv1a1024

bytemuck spooky? xxh64?

required by some hashers

Enables bytemuck

fnv

hashing algorithms

Affects anyhash::fnv

spooky = bytemuck

Affects anyhash::spooky

xxh64 = bytemuck

Affects anyhash::xxh64