1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/crates/grep
2021-06-01 21:07:37 -04:00
..
examples repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
src repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
Cargo.toml edition: set edition=2018 2021-06-01 21:07:37 -04:00
COPYING repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
LICENSE-MIT repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
README.md doc: update CI links in crate READMEs 2020-11-16 19:07:16 -05:00
UNLICENSE repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00

grep

ripgrep, as a library.

Build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

https://docs.rs/grep

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.

Usage

Add this to your Cargo.toml:

[dependencies]
grep = "0.2"

and this to your crate root:

extern crate grep;

Features

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.