PageRenderTime 48ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/crates/grep/README.md

https://github.com/BurntSushi/ripgrep
Markdown | 41 lines | 26 code | 15 blank | 0 comment | 0 complexity | 78299e0615d0a46c97268566a22b9dfa MD5 | raw file
Possible License(s): MIT, Unlicense
  1. grep
  2. ----
  3. ripgrep, as a library.
  4. [![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.svg)](https://travis-ci.org/BurntSushi/ripgrep)
  5. [![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/ripgrep?svg=true)](https://ci.appveyor.com/project/BurntSushi/ripgrep)
  6. [![](https://img.shields.io/crates/v/grep.svg)](https://crates.io/crates/grep)
  7. Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
  8. ### Documentation
  9. [https://docs.rs/grep](https://docs.rs/grep)
  10. NOTE: This crate isn't ready for wide use yet. Ambitious individuals can
  11. probably piece together the parts, but there is no high level documentation
  12. describing how all of the pieces fit together.
  13. ### Usage
  14. Add this to your `Cargo.toml`:
  15. ```toml
  16. [dependencies]
  17. grep = "0.2"
  18. ```
  19. and this to your crate root:
  20. ```rust
  21. extern crate grep;
  22. ```
  23. ### Features
  24. This crate provides a `pcre2` feature (disabled by default) which, when
  25. enabled, re-exports the `grep-pcre2` crate as an alternative `Matcher`
  26. implementation to the standard `grep-regex` implementation.