Rust-PHF is a library to generate efficient lookup tables at compile time using perfect hash functions. It currently uses the CHD algorithm and can generate a 100,000 entry map in roughly .4 seconds.