Fast string lookup in a single `&str`, containing millions of unevenly sized substrings

In addition to the fst crate, regex-automata provides a way to build a fully compiled DFA. It also supports zero-copy deserialization. You won't get the compression that fst gives you, but lookup speed is likely faster.

4 Likes