A high level library for executing fast line oriented searches. This handles things like reporting contextual lines, counting lines, inverting a search, detecting binary data, automatic UTF-16 transcoding and deciding whether or not to use memory maps.
Dual-licensed under MIT or the UNLICENSE.
NOTE: You probably don't want to use this crate directly. Instead, you should prefer the facade defined in the grep
crate.
Add this to your Cargo.toml
:
[dependencies] grep-searcher = "0.1"