Skip to main content

Module hash

Module hash 

Source
Expand description

no_std-friendly default hasher used for change-detection hashing.

In std builds this re-exports std::hash::DefaultHasher so behaviour is unchanged. In no_std builds it provides a small deterministic FxHasher-style hasher implementing core::hash::Hasher. The values are only required to be stable within a single process run (they back diffing / change detection), not to match std’s SipHash output.

Structs§

DefaultHasher
The default Hasher used by RandomState.