diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-07-10 15:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 15:52:06 +0100 |
commit | f01846bd443aaf92fdd5ac20f461beac3f6ee3fd (patch) | |
tree | c149a80974da3d6d90e88c63019846202bf58461 /Cargo.lock | |
parent | 2826bdd75b31f42aac1c80b2302c25e739a8adf1 (diff) |
Do not resolve executables as relative path from current directory (#658)0.8.3
* Refactor: child pager process creation
* Protect calls to Command::new behind grep_cli::resolve_binary
* Move less env-var setting into less-specific branch
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -96,6 +96,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea27d8d5fd867b17523bf6788b1175fa9867f34669d057e9adaf76e27bcea44b" [[package]] +name = "bstr" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a40b47ad93e1a5404e6c18dec46b628214fee441c70f4ab5d6942142cc268a3d" +dependencies = [ + "lazy_static", + "memchr", + "regex-automata", +] + +[[package]] name = "bytelines" version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -272,6 +283,7 @@ dependencies = [ "dirs-next", "error-chain", "git2", + "grep-cli", "itertools", "lazy_static", "pathdiff", @@ -299,6 +311,36 @@ dependencies = [ ] [[package]] +name = "globset" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +dependencies = [ + "aho-corasick", + "bstr", + "fnv", + "log", + "regex", +] + +[[package]] +name = "grep-cli" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dd110c34bb4460d0de5062413b773e385cbf8a85a63fc535590110a09e79e8a" +dependencies = [ + "atty", + "bstr", + "globset", + "lazy_static", + "log", + "regex", + "same-file", + "termcolor", + "winapi-util", +] + +[[package]] name = "hashbrown" version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -601,6 +643,12 @@ dependencies = [ ] [[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" + +[[package]] name = "regex-syntax" version = "0.6.22" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -725,6 +773,15 @@ dependencies = [ ] [[package]] +name = "termcolor" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +dependencies = [ + "winapi-util", +] + +[[package]] name = "terminal_size" version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" |