ripgrep, as a library.

Linux build status Windows build status grep - 图3

Dual-licensed under MIT or the UNLICENSE.


NOTE: This crate isn’t ready for wide use yet. Ambitious individuals can probably piece together the parts, but there is no high level documentation describing how all of the pieces fit together.


Add this to your Cargo.toml:

  1. [dependencies]
  2. grep = "0.2"

and this to your crate root:

  1. extern crate grep;


This crate provides a pcre2 feature (disabled by default) which, when enabled, re-exports the grep-pcre2 crate as an alternative Matcher implementation to the standard grep-regex implementation.