🐎 A fast implementation of the Aho-Corasick algorithm using the compact double-array data structure in Rust.
Release candidate version of daachorse 1.0.0.
Compared to version 0.4, this version makes the following major changes to the API:
CharwiseDoubleArrayAhoCorasick
is now exposed to the crate root.Changed Match::value()
to a generic type V
. Users can use any type that implements Copy
and Default
for values, not just integers. Due to this change, it may be necessary to specify the value type explicitly in some situations.Serializable
trait. The automaton can be serialized only if the generic type V
described above implements this trait.