{"id":57790,"library":"phf-codegen","title":"PHF Codegen","description":"Codegen library for PHF types.","status":"active","version":"0.13.1","language":"rust","source_language":null,"source_url":"https://github.com/rust-phf/rust-phf","tags":["phf","codegen","hash","compile-time"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nphf_codegen = \"0.13.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add phf_codegen","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Map","correct":"use phf_codegen::Map;"}],"quickstart":{"code":"use phf_codegen::Map;\n\nfn main() {\n    let mut map = Map::new();\n    map.entry(\"key\", \"value\");\n    let code = map.build();\n    println!(\"{}\", code);\n}","lang":"rust","description":"Generate code for a perfect hash map."},"warnings":[],"env_vars":null,"search_vec":"'codegen':2,3,9 'compil':12 'compile-tim':11 'hash':10 'librari':4 'phf':1,6,8 'time':13 'type':7","created_at":"2026-06-16T15:58:11.451033+00:00","updated_at":"2026-06-16T15:58:11.451033+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-phf/rust-phf","github":"https://github.com/rust-phf/rust-phf","docs":"https://docs.rs/phf_codegen/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}