mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-14 19:55:47 -07:00
This commit does the work to delete the old `grep` crate and effectively rewrite most of ripgrep core to use the new libripgrep crates. The new `grep` crate is now a facade that collects the various crates that make up libripgrep. The most complex part of ripgrep core is now arguably the translation between command line parameters and the library options, which is ultimately where we want to be.
23 lines
646 B
Rust
23 lines
646 B
Rust
/*!
|
|
ripgrep, as a library.
|
|
|
|
This library is intended to provide a high level facade to the crates that
|
|
make up ripgrep's core searching routines. However, there is no high level
|
|
documentation available yet guiding users on how to fit all of the pieces
|
|
together.
|
|
|
|
Every public API item in the constituent crates is documented, but examples
|
|
are sparse.
|
|
|
|
A cookbook and a guide are planned.
|
|
*/
|
|
|
|
#![deny(missing_docs)]
|
|
|
|
pub extern crate grep_matcher as matcher;
|
|
#[cfg(feature = "pcre2")]
|
|
pub extern crate grep_pcre2 as pcre2;
|
|
pub extern crate grep_printer as printer;
|
|
pub extern crate grep_regex as regex;
|
|
pub extern crate grep_searcher as searcher;
|