Registry / utility / pi-hash

pi-hash

JSON →
library0.1.1rscratesunverified

Provides unified hasher, HashMap and HashSet with hash algorithm determined by compile-time conditions.

# Cargo.toml [dependencies] pi_hash = "0.1.1"
INSTALL
IMPORT
SIG · PI-HASH
P
pi-hash
utilityrustv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HashMap
use pi_hash::HashMap;

Creates a HashMap with a compile-time chosen hash algorithm.

use pi_hash::HashMap; fn main() { let mut map = HashMap::new(); map.insert("key", 42); println!("{:?}", map); }
Debug
Known issues
gotchaHash algorithm selection via compile-time flags may cause incompatibility between builds.
fix
Ensure all parts of the application use the same compile-time flags.
affects: >=0.1.0
Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pi-hash — cargo add pi-hash · libregistry