Use a patched version of ignore for perf improvements
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- https://github.com/BurntSushi/ripgrep/commit/d938e955af7a39ac0245b1ce84924f7f4a2141ac - https://github.com/BurntSushi/ripgrep/pull/2624 - https://github.com/BurntSushi/ripgrep/pull/2642
authored by Tavian Barnes · committed by David Peter · parent c9df429 · Browse files · 2 files·+59 added−17 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+59 added−17 removed
- other:+59 added−17 removed
Provenance
- Commit
66c0637- Tree
81b1ded- Author
Tavian Barnes <tavianator@tavianator.com>- Committer
David Peter <sharkdp@users.noreply.github.com>- Parent
c9df429
2 files changed+59 added−17 removed
modified:Cargo.lock+56 added-17 removed
223 unmodified lines224 "crossbeam-utils",225 ]226 227 [[package]]228+name = "crossbeam-deque"229+version = "0.8.3"230+source = "registry+https://github.com/rust-lang/crates.io-index"231+checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"232+dependencies = [233+ "cfg-if",234+ "crossbeam-epoch",235+ "crossbeam-utils",236+]237+238+[[package]]239+name = "crossbeam-epoch"240+version = "0.9.15"241+source = "registry+https://github.com/rust-lang/crates.io-index"242+checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"243+dependencies = [244+ "autocfg",245+ "cfg-if",246+ "crossbeam-utils",247+ "memoffset",248+ "scopeguard",249+]250+251+[[package]]252 name = "crossbeam-utils"253 version = "0.8.16"254 source = "registry+https://github.com/rust-lang/crates.io-index"255 checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"70 unmodified lines326 "diff",327 "etcetera",328 "faccess",329 "filetime",306- "globset",330+ "globset 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",331 "humantime",332 "ignore",333 "jemallocator",334 "libc",39 unmodified lines374 "regex",375 ]376 377 [[package]]378+name = "globset"379+version = "0.4.13"380+source = "git+https://github.com/tavianator/ripgrep?branch=fd#43c6a11033ec5a66a73a1082ea71257e527d1de9"381+dependencies = [382+ "aho-corasick",383+ "bstr",384+ "log",385+ "regex-automata",386+ "regex-syntax 0.8.2",387+]388+389+[[package]]390 name = "heck"391 version = "0.4.1"392 source = "registry+https://github.com/rust-lang/crates.io-index"393 checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"38 unmodified lines432 433 [[package]]434 name = "ignore"435 version = "0.4.20"400-source = "registry+https://github.com/rust-lang/crates.io-index"401-checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492"436+source = "git+https://github.com/tavianator/ripgrep?branch=fd#43c6a11033ec5a66a73a1082ea71257e527d1de9"437 dependencies = [403- "globset",404- "lazy_static",438+ "crossbeam-deque",439+ "globset 0.4.13 (git+https://github.com/tavianator/ripgrep?branch=fd)",440 "log",441 "memchr",407- "regex",442+ "regex-automata",443 "same-file",409- "thread_local",444 "walkdir",445 "winapi-util",446 ]447 65 unmodified lines513 source = "registry+https://github.com/rust-lang/crates.io-index"514 checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"515 516 [[package]]517+name = "memoffset"518+version = "0.9.0"519+source = "registry+https://github.com/rust-lang/crates.io-index"520+checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"521+dependencies = [522+ "autocfg",523+]524+525+[[package]]526 name = "nix"527 version = "0.24.3"528 source = "registry+https://github.com/rust-lang/crates.io-index"529 checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"158 unmodified lines688 "winapi-util",689 ]690 691 [[package]]692+name = "scopeguard"693+version = "1.2.0"694+source = "registry+https://github.com/rust-lang/crates.io-index"695+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"696+697+[[package]]698 name = "serde"699 version = "1.0.189"700 source = "registry+https://github.com/rust-lang/crates.io-index"701 checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537"97 unmodified lines799 "test-case-core",800 ]801 802 [[package]]754-name = "thread_local"755-version = "1.1.7"756-source = "registry+https://github.com/rust-lang/crates.io-index"757-checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"758-dependencies = [759- "cfg-if",760- "once_cell",761-]762-763-[[package]]803 name = "unicode-ident"804 version = "1.0.12"805 source = "registry+https://github.com/rust-lang/crates.io-index"806 checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"182 unmodified linesmodified:Cargo.toml+3 added
48 unmodified lines495051525354555657585938 unmodified lines48 unmodified linescrossbeam-channel = "0.5.8"clap_complete = {version = "4.4.4", optional = true}faccess = "0.2.4"
[patch.crates-io]ignore = { git = "https://github.com/tavianator/ripgrep", branch = "fd" }
[dependencies.clap]version = "4.4.7"features = ["suggestions", "color", "wrap_help", "cargo", "derive"]
38 unmodified lines