1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/grep
Andrew Gallant 0bc4f0447b style: rustfmt everything
This is why I was so intent on clearing the PR queue. This will
effectively invalidate all existing patches, so I wanted to start from a
clean slate.

We do make one little tweak: we put the default type definitions in
their own file and tell rustfmt to keep its grubby mits off of it. We
also sort it lexicographically and hopefully will enforce that from here
on.
2020-02-17 19:24:53 -05:00
..
examples style: rustfmt everything 2020-02-17 19:24:53 -05:00
src grep-cli: introduce new grep-cli crate 2018-09-04 23:18:55 -04:00
Cargo.toml grep: release 0.2.4 2019-04-15 18:03:46 -04:00
COPYING Add license files to each crate. 2017-03-12 16:57:15 -04:00
LICENSE-MIT Add license files to each crate. 2017-03-12 16:57:15 -04:00
README.md ripgrep: migrate to libripgrep 2018-08-20 07:10:19 -04:00
UNLICENSE Add license files to each crate. 2017-03-12 16:57:15 -04:00

grep

ripgrep, as a library.

Linux build status Windows 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.