bug: Update clap to 4.4.6
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This also fixes a couple of problems that are now errors: - Remove use of unstable-grouped feature flag that no longer exists - Fix some conflicts rules with non-existant options * has_results should have been quiet * count doesn't exist. I'm not sure where it came from
authored by Thayne McCombs · committed by Thayne McCombs · parent 19832fc · Browse files · 4 files·+107 added−72 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: #1397
Diff stats
4 files+107 added−72 removed
- other:+107 added−72 removed
Provenance
- Commit
e6b5a4e- Tree
683395b- Author
Thayne McCombs <astrothayne@gmail.com>- Committer
Thayne McCombs <astrothayne@gmail.com>- Parent
19832fc
4 files changed+107 added−72 removed
modified:src/cli.rs+1 added-1 removed
24 unmodified lines25 after_long_help = "Bugs can be reported on GitHub: https://github.com/sharkdp/fd/issues",26 max_term_width = 98,27 args_override_self = true,28 group(ArgGroup::new("execs").args(&["exec", "exec_batch", "list_details"]).conflicts_with_all(&[29- "max_results", "has_results", "count", "max_one_result"])),29+ "max_results", "quiet", "max_one_result"])),30 )]31 pub struct Opts {32 /// Include hidden directories and files in the search results (default:33 /// hidden files and directories are skipped). Files and directories are829 unmodified linesmodified:Cargo.lock+102 added-69 removed
25 unmodified lines26 "libc",27 ]28 29 [[package]]30+name = "anstream"31+version = "0.6.4"32+source = "registry+https://github.com/rust-lang/crates.io-index"33+checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44"34+dependencies = [35+ "anstyle",36+ "anstyle-parse",37+ "anstyle-query",38+ "anstyle-wincon",39+ "colorchoice",40+ "utf8parse",41+]42+43+[[package]]44+name = "anstyle"45+version = "1.0.4"46+source = "registry+https://github.com/rust-lang/crates.io-index"47+checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"48+49+[[package]]50+name = "anstyle-parse"51+version = "0.2.2"52+source = "registry+https://github.com/rust-lang/crates.io-index"53+checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140"54+dependencies = [55+ "utf8parse",56+]57+58+[[package]]59+name = "anstyle-query"60+version = "1.0.0"61+source = "registry+https://github.com/rust-lang/crates.io-index"62+checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"63+dependencies = [64+ "windows-sys 0.48.0",65+]66+67+[[package]]68+name = "anstyle-wincon"69+version = "3.0.1"70+source = "registry+https://github.com/rust-lang/crates.io-index"71+checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628"72+dependencies = [73+ "anstyle",74+ "windows-sys 0.48.0",75+]76+77+[[package]]78 name = "anyhow"79 version = "1.0.75"80 source = "registry+https://github.com/rust-lang/crates.io-index"81 checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"22 unmodified lines104 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"105 106 [[package]]107 name = "bitflags"60-version = "2.0.2"108+version = "2.4.1"109 source = "registry+https://github.com/rust-lang/crates.io-index"62-checksum = "487f1e0fcbe47deb8b0574e646def1c903389d95241dd1bbcc6ce4a715dfc0c1"110+checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"111 112 [[package]]113 name = "bstr"114 version = "1.6.2"35 unmodified lines150 ]151 152 [[package]]153 name = "clap"106-version = "4.1.11"154+version = "4.4.6"155 source = "registry+https://github.com/rust-lang/crates.io-index"108-checksum = "42dfd32784433290c51d92c438bb72ea5063797fc3cc9a21a8c4346bebbb2098"156+checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956"157 dependencies = [110- "bitflags 2.0.2",158+ "clap_builder",159 "clap_derive",160+]161+162+[[package]]163+name = "clap_builder"164+version = "4.4.6"165+source = "registry+https://github.com/rust-lang/crates.io-index"166+checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45"167+dependencies = [168+ "anstream",169+ "anstyle",170 "clap_lex",113- "is-terminal",114- "once_cell",171 "strsim",116- "termcolor",172 "terminal_size",173 ]174 175 [[package]]6 unmodified lines182 ]183 184 [[package]]185 name = "clap_derive"131-version = "4.1.9"186+version = "4.4.2"187 source = "registry+https://github.com/rust-lang/crates.io-index"133-checksum = "fddf67631444a3a3e3e5ac51c36a5e01335302de677bd78759eaa90ab1f46644"188+checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873"189 dependencies = [190 "heck",136- "proc-macro-error",191 "proc-macro2",192 "quote",139- "syn 1.0.109",193+ "syn 2.0.16",194 ]195 196 [[package]]197 name = "clap_lex"144-version = "0.3.3"198+version = "0.5.1"199 source = "registry+https://github.com/rust-lang/crates.io-index"146-checksum = "033f6b7a4acb1f358c742aaca805c939ee73b4c6209ae4318ec7aca81c42e646"147-dependencies = [148- "os_str_bytes",149-]200+checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961"201 202 [[package]]203 name = "codespan-reporting"204 version = "0.11.1"4 unmodified lines209 "unicode-width",210 ]211 212 [[package]]213+name = "colorchoice"214+version = "1.0.0"215+source = "registry+https://github.com/rust-lang/crates.io-index"216+checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"217+218+[[package]]219 name = "core-foundation-sys"220 version = "0.8.3"221 source = "registry+https://github.com/rust-lang/crates.io-index"222 checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"50 unmodified lines273 "once_cell",274 "proc-macro2",275 "quote",276 "scratch",220- "syn 2.0.2",277+ "syn 2.0.16",278 ]279 280 [[package]]281 name = "cxxbridge-flags"8 unmodified lines290 checksum = "631569015d0d8d54e6c241733f944042623ab6df7bc3be7466874b05fcdb1c5f"291 dependencies = [292 "proc-macro2",293 "quote",237- "syn 2.0.2",294+ "syn 2.0.16",295 ]296 297 [[package]]298 name = "diff"2 unmodified lines301 checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"302 303 [[package]]304 name = "errno"248-version = "0.2.8"249-source = "registry+https://github.com/rust-lang/crates.io-index"250-checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"251-dependencies = [252- "errno-dragonfly",253- "libc",254- "winapi",255-]256-257-[[package]]258-name = "errno"305 version = "0.3.1"306 source = "registry+https://github.com/rust-lang/crates.io-index"307 checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"308 dependencies = [195 unmodified lines504 "windows-sys 0.48.0",505 ]506 507 [[package]]462-name = "is-terminal"463-version = "0.4.5"464-source = "registry+https://github.com/rust-lang/crates.io-index"465-checksum = "8687c819457e979cc940d09cb16e42a1bf70aa6b60a549de6d3a62a0ee90c69e"466-dependencies = [467- "hermit-abi",468- "io-lifetimes",469- "rustix 0.36.10",470- "windows-sys 0.45.0",471-]472-473-[[package]]508 name = "jemalloc-sys"509 version = "0.5.3+5.3.0-patched"510 source = "registry+https://github.com/rust-lang/crates.io-index"511 checksum = "f9bd5d616ea7ed58b571b2e209a65759664d7fb021a0819d7a790afc67e47ca1"43 unmodified lines555 ]556 557 [[package]]558 name = "linux-raw-sys"525-version = "0.1.4"559+version = "0.3.8"560 source = "registry+https://github.com/rust-lang/crates.io-index"527-checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"561+checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"562 563 [[package]]564 name = "linux-raw-sys"531-version = "0.3.8"565+version = "0.4.10"566 source = "registry+https://github.com/rust-lang/crates.io-index"533-checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"567+checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"568 569 [[package]]570 name = "log"571 version = "0.4.17"84 unmodified lines656 source = "registry+https://github.com/rust-lang/crates.io-index"657 checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b"658 659 [[package]]626-name = "os_str_bytes"627-version = "6.5.0"628-source = "registry+https://github.com/rust-lang/crates.io-index"629-checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267"630-631-[[package]]660 name = "proc-macro-error"661 version = "1.0.4"662 source = "registry+https://github.com/rust-lang/crates.io-index"663 checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"73 unmodified lines737 checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"738 739 [[package]]740 name = "rustix"713-version = "0.36.10"741+version = "0.37.21"742 source = "registry+https://github.com/rust-lang/crates.io-index"715-checksum = "2fe885c3a125aa45213b68cc1472a49880cb5923dc23f522ad2791b882228778"743+checksum = "62f25693a73057a1b4cb56179dd3c7ea21a7c6c5ee7d85781f5749b46f34b79c"744 dependencies = [745 "bitflags 1.3.2",718- "errno 0.2.8",746+ "errno",747 "io-lifetimes",748 "libc",721- "linux-raw-sys 0.1.4",722- "windows-sys 0.45.0",749+ "linux-raw-sys 0.3.8",750+ "windows-sys 0.48.0",751 ]752 753 [[package]]754 name = "rustix"727-version = "0.37.21"755+version = "0.38.19"756 source = "registry+https://github.com/rust-lang/crates.io-index"729-checksum = "62f25693a73057a1b4cb56179dd3c7ea21a7c6c5ee7d85781f5749b46f34b79c"757+checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"758 dependencies = [731- "bitflags 1.3.2",732- "errno 0.3.1",733- "io-lifetimes",759+ "bitflags 2.4.1",760+ "errno",761 "libc",735- "linux-raw-sys 0.3.8",762+ "linux-raw-sys 0.4.10",763 "windows-sys 0.48.0",764 ]765 766 [[package]]41 unmodified lines808 ]809 810 [[package]]811 name = "syn"785-version = "2.0.2"812+version = "2.0.16"813 source = "registry+https://github.com/rust-lang/crates.io-index"787-checksum = "59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045"814+checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01"815 dependencies = [816 "proc-macro2",817 "quote",818 "unicode-ident",23 unmodified lines842 ]843 844 [[package]]845 name = "terminal_size"819-version = "0.2.5"846+version = "0.3.0"847 source = "registry+https://github.com/rust-lang/crates.io-index"821-checksum = "4c9afddd2cec1c0909f06b00ef33f94ab2cc0578c4a610aa208ddfec8aa2b43a"848+checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"849 dependencies = [823- "rustix 0.36.10",824- "windows-sys 0.45.0",850+ "rustix 0.38.19",851+ "windows-sys 0.48.0",852 ]853 854 [[package]]855 name = "test-case"62 unmodified lines918 "log",919 ]920 921 [[package]]922+name = "utf8parse"923+version = "0.2.1"924+source = "registry+https://github.com/rust-lang/crates.io-index"925+checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"926+927+[[package]]928 name = "version_check"929 version = "0.9.4"930 source = "registry+https://github.com/rust-lang/crates.io-index"931 checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"227 unmodified linesmodified:Cargo.toml+2 added-2 removed
49 unmodified lines50515253545554555657585936 unmodified lines49 unmodified linesclap_complete = {version = "4.4.1", optional = true}faccess = "0.2.4"
[dependencies.clap]version = "4.1.1"features = ["suggestions", "color", "wrap_help", "cargo", "unstable-grouped", "derive"]version = "4.4.6"features = ["suggestions", "color", "wrap_help", "cargo", "derive"]
[dependencies.chrono]version = "0.4.28"default-features = false36 unmodified linesmodified:CHANGELOG.md+2 added
2 unmodified lines3 ## Features4 5 ## Bugfixes6 7+- `--quiet` properly conflicts with the exec family of options. This used to be the case, but broke during the switch to clap-derive8+9 ## Changes10 11 ## Other12 682 unmodified lines