Registry / utility / daachorse

daachorse

JSON →
library3.0.1rscratesunverified

Double-Array Aho-Corasick implementation for fast string matching.

# Cargo.toml [dependencies] daachorse = "3.0.1"
INSTALL
IMPORT
SIG · DAACHORSE
D
daachorse
utilityrustv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DoubleArrayAhoCorasick
✓ use daachorse::DoubleArrayAhoCorasick;

Build a double-array Aho-Corasick automaton for pattern matching.

use daachorse::DoubleArrayAhoCorasick; fn main() -> Result<(), Box<dyn std::error::Error>> { let patterns = vec!["abc", "def"]; let ac = DoubleArrayAhoCorasick::new(patterns)?; println!("Aho-Corasick automaton built"); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources