diff --git a/Cargo.lock b/Cargo.lock index 92825f8..8eff001 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -918,7 +918,7 @@ dependencies = [ [[package]] name = "ripgrep_all" -version = "0.7.0" +version = "0.7.1-alpha.0" dependencies = [ "bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "bzip2 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 49c86be..2eb00f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "ripgrep_all" description = "ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc" license = "AGPL-3.0-or-later" -version = "0.7.0" +version = "0.7.1-alpha.0" repository = "https://github.com/phiresky/ripgrep_all" authors = ["phiresky "] edition = "2018" diff --git a/README.md b/README.md index 8eed800..174ca4a 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,15 @@ rga should compile with stable Rust. To install it, simply run (your OSes equiva apt install build-essential pandoc poppler-utils cargo install ripgrep_all -rga --help +rga --help # works! :) ``` ## Technical details `rga` simply runs ripgrep (`rg`) with some options set, especially `--pre=rga-preproc` and `--pre-glob`. +`rga-preproc [fname]` will match an adapter to the given file based on either it's filename or it's mime type (if `--accurate` is given). + Some rga adapters run external binaries ## Development