Registry / build-tool / phf-codegen

phf-codegen

JSON →
library0.13.1rscratesunverified

Codegen library for PHF types.

# Cargo.toml [dependencies] phf_codegen = "0.13.1"
INSTALL
IMPORT
SIG · PHF-CODEGEN
P
phf-codegen
build-toolrustv0.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.

Map
use phf_codegen::Map;

Generate code for a perfect hash map.

use phf_codegen::Map; fn main() { let mut map = Map::new(); map.entry("key", "value"); let code = map.build(); println!("{}", code); }
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
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
phf-codegen — cargo add phf-codegen · libregistry