We have a \'delete all my data\' feature. I\'d like to delete a set of IPs from many many web log files.
Currently at runtime I open a CSV with the IP addresses to d
The Rust-PHF crate provides compile-time data structures, including (ordered) maps and sets.
Unfortunately, to date, it does not support initialization of a set of std::net::IpAddr, but can be used with static strings:
std::net::IpAddr
static IP_SET: phf::Set<&'static str> = phf_set! { "127.0.0.1", "::1", };