#grep #regex #hyperscan

grep-hyperscan

Use hyperscan with the 'grep' crate

1 unstable release

0.0.1 Feb 16, 2020

#211 in #grep

Unlicense/MIT

13KB
185 lines

grep-hyperscan

The grep-hyperscan crate provides an implementation of the Matcher trait from the grep-matcher crate. This implementation permits hyperscan to be used in the grep crate for fast line oriented searching on massive amount of regexp with massive amount of data.

This is WIP.

Issues

Please open new issues here : https://todo.sr.ht/~pierrenn/grep-hyperscan

Usage

Add this to your Cargo.toml:

[dependencies]
grep-hyperscan = "0.0.1"

and this to your crate root:

extern crate grep_hyperscan;

NOTE: You probably don't want to use this crate directly. Instead, you should prefer the facade defined in the grep crate.


lib.rs:

An implementation of grep-matcher's Matcher trait for hyperscan.

Dependencies

~3MB
~66K SLoC