Registry / utility / phf-shared

phf-shared

JSON →
library0.13.1rscratesunverified

Support code shared by PHF libraries for compile-time generated perfect hash functions.

# Cargo.toml [dependencies] phf_shared = "0.13.1"
INSTALL
IMPORT
SIG · PHF-SHARED
P
phf-shared
utilityrustv0.13.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.

PhfHash
use phf_shared::PhfHash;

Compute a PHF hash for a string.

use phf_shared::PhfHash; fn main() { let hash = "hello".phf_hash(); println!("{:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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