Name Description Size
ahocorasick.rs 107521
automaton.rs ! Provides [`Automaton`] trait for abstracting over Aho-Corasick automata. The `Automaton` trait provides a way to write generic code over any Aho-Corasick automaton. It also provides access to lower level APIs that permit walking the state transitions of an Aho-Corasick automaton manually. 64623
dfa.rs ! Provides direct access to a DFA implementation of Aho-Corasick. This is a low-level API that generally only needs to be used in niche circumstances. When possible, prefer using [`AhoCorasick`](crate::AhoCorasick) instead of a DFA directly. Using an `DFA` directly is typically only necessary when one needs access to the [`Automaton`] trait implementation. 31281
lib.rs 11900
macros.rs 301
nfa
packed
tests.rs Iterators of anchored overlapping searches were removed from the API in after 0.7, but we leave the tests commented out for posterity. /// Tests for Aho-Corasick's anchored standard overlapping match semantics. const AC_STANDARD_ANCHORED_OVERLAPPING: TestCollection = &[ANCHORED_BASICS, ANCHORED_OVERLAPPING]; 56936
transducer.rs ! Provides implementations of `fst::Automaton` for Aho-Corasick automata. This works by providing two wrapper types, [`Anchored`] and [`Unanchored`]. The former executes an anchored search on an FST while the latter executes an unanchored search. Building these wrappers is fallible and will fail if the underlying Aho-Corasick automaton does not support the type of search it represents. 8353
util