diff options
Diffstat (limited to 'vendor/clap_complete')
-rw-r--r-- | vendor/clap_complete/.cargo-checksum.json | 2 | ||||
-rw-r--r-- | vendor/clap_complete/Cargo.lock | 32 | ||||
-rw-r--r-- | vendor/clap_complete/Cargo.toml | 6 | ||||
-rw-r--r-- | vendor/clap_complete/README.md | 8 | ||||
-rw-r--r-- | vendor/clap_complete/src/dynamic/completer.rs | 2 |
5 files changed, 28 insertions, 22 deletions
diff --git a/vendor/clap_complete/.cargo-checksum.json b/vendor/clap_complete/.cargo-checksum.json index 0386d8294..e5bef9057 100644 --- a/vendor/clap_complete/.cargo-checksum.json +++ b/vendor/clap_complete/.cargo-checksum.json @@ -1 +1 @@ -{"files":{"Cargo.lock":"40ae0595e56e26762bea08190bec066f169116d12ca1ef54f16026db6241aa88","Cargo.toml":"a4058f4f3fc85bb43cd265899209c6a0e0150d7d5bca688f3c414534aff33a08","LICENSE-APACHE":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","LICENSE-MIT":"0d687e1f07b58fe68bda74668ff6326125e5e5efa184cce755cd84ac535b7058","README.md":"c16463f56e2dae5b976ca630c2e5399ed8357865dcd361ce3863733bf561ad83","examples/completion-derive.rs":"9df678ff1b67b7e8e829d53d983960429eb809aac4e72f4c5415a59cee8684a6","examples/completion.rs":"d81c0281ae87280d40381e468c0fa2bb4d8751022fdfd0d11ed9d54598e18d8d","examples/dynamic.rs":"0fa838cd9b5f406b5adb467827be43120752673f8d8eca011a01a3e91f26678b","examples/exhaustive.rs":"3acc2b4c1591b0488c721fbff4bb4bbd8d71b58ce3534d82d41f6b2977aff054","src/dynamic/completer.rs":"fb304b3348eb0cc0849cefcd918715612ed3823d67de75368c6d71374ebe7562","src/dynamic/mod.rs":"99e6cf37f53f22394c827bf872801fd93ecc4dffc0e618fdc71d6a04890deaa6","src/dynamic/shells/bash.rs":"359e180a9c5a74a1b3c4e72f25c767d7df4fd93bf589b927dc83b6d35b699b80","src/dynamic/shells/fish.rs":"9575092d165e4a9c52c599f0c143ded40418b4ba9e3400f423e4836925ff2f4e","src/dynamic/shells/mod.rs":"3f1dbdba2cae6bc3eea708a8a264e8e8cfa752c2b00a29054ae1dcd6e860bcd5","src/dynamic/shells/shell.rs":"2e98ba5d9405bd41efeb9982e7b7b4aa5f5ee650b19c79e7c38b068c01c2d7c3","src/generator/mod.rs":"054bc08444ee7389168bcd74954c0ac448df186ddf2c8491dca01aff2456b6d7","src/generator/utils.rs":"2486cdfc9edf1678fed953080ce48b3350e7b4a2f29e7e3a681b64d621f40f47","src/lib.rs":"8ad5e4171dd7ba9dbad24c7e8c90bdf0444a8cc427fe8e5ce2b6407d0dc018ac","src/macros.rs":"8445231263f03893ab3806e3f50747113bf8d638bd81e2a6bf33c9a0df224421","src/shells/bash.rs":"5b60f9ebb995dfa4858eed9615efbffa0cd81842479a701b13374a5047aef22a","src/shells/elvish.rs":"c09e570414213f779b2126eb33784bc39774269ffe4a0654fc32e17d4ac649ae","src/shells/fish.rs":"52007ac76cd4275f128ab46b1df6aa1fe7534d253f0df93d13a19e16c32567c9","src/shells/mod.rs":"002352299be1ece75540e7b1502120590f4635f69a925b19484d272bd5491505","src/shells/powershell.rs":"26137941c89029b493a04667ce45ff705c960f10c8df0b725110708b79c120e2","src/shells/shell.rs":"4dd9df0bd1f371da370c66808d16ad00a045ba3b997844b1164518b094bba951","src/shells/zsh.rs":"bf73a3253dfc023f1704d8ab28efbf5aa17e390a0fa337eebd3369684857a118"},"package":"e3ae8ba90b9d8b007efe66e55e48fb936272f5ca00349b5b0e89877520d35ea7"}
\ No newline at end of file +{"files":{"Cargo.lock":"66d2dfa4b76e4f63a67461684c11ec6b8ee42dfdb44303fb7921ffc19e8999bf","Cargo.toml":"5b55336698b284540992aca2300981dbda70b871ae15771a13a10de8123a5487","LICENSE-APACHE":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","LICENSE-MIT":"0d687e1f07b58fe68bda74668ff6326125e5e5efa184cce755cd84ac535b7058","README.md":"086d5f33b8b1a1e06b41620e925391649316d3aacb3249af0d84f101a480b82a","examples/completion-derive.rs":"9df678ff1b67b7e8e829d53d983960429eb809aac4e72f4c5415a59cee8684a6","examples/completion.rs":"d81c0281ae87280d40381e468c0fa2bb4d8751022fdfd0d11ed9d54598e18d8d","examples/dynamic.rs":"0fa838cd9b5f406b5adb467827be43120752673f8d8eca011a01a3e91f26678b","examples/exhaustive.rs":"3acc2b4c1591b0488c721fbff4bb4bbd8d71b58ce3534d82d41f6b2977aff054","src/dynamic/completer.rs":"b83711bda94c596b3279f969e4857c120b78776d4891e02fe6fef00e3e2c13f2","src/dynamic/mod.rs":"99e6cf37f53f22394c827bf872801fd93ecc4dffc0e618fdc71d6a04890deaa6","src/dynamic/shells/bash.rs":"359e180a9c5a74a1b3c4e72f25c767d7df4fd93bf589b927dc83b6d35b699b80","src/dynamic/shells/fish.rs":"9575092d165e4a9c52c599f0c143ded40418b4ba9e3400f423e4836925ff2f4e","src/dynamic/shells/mod.rs":"3f1dbdba2cae6bc3eea708a8a264e8e8cfa752c2b00a29054ae1dcd6e860bcd5","src/dynamic/shells/shell.rs":"2e98ba5d9405bd41efeb9982e7b7b4aa5f5ee650b19c79e7c38b068c01c2d7c3","src/generator/mod.rs":"054bc08444ee7389168bcd74954c0ac448df186ddf2c8491dca01aff2456b6d7","src/generator/utils.rs":"2486cdfc9edf1678fed953080ce48b3350e7b4a2f29e7e3a681b64d621f40f47","src/lib.rs":"8ad5e4171dd7ba9dbad24c7e8c90bdf0444a8cc427fe8e5ce2b6407d0dc018ac","src/macros.rs":"8445231263f03893ab3806e3f50747113bf8d638bd81e2a6bf33c9a0df224421","src/shells/bash.rs":"5b60f9ebb995dfa4858eed9615efbffa0cd81842479a701b13374a5047aef22a","src/shells/elvish.rs":"c09e570414213f779b2126eb33784bc39774269ffe4a0654fc32e17d4ac649ae","src/shells/fish.rs":"52007ac76cd4275f128ab46b1df6aa1fe7534d253f0df93d13a19e16c32567c9","src/shells/mod.rs":"002352299be1ece75540e7b1502120590f4635f69a925b19484d272bd5491505","src/shells/powershell.rs":"26137941c89029b493a04667ce45ff705c960f10c8df0b725110708b79c120e2","src/shells/shell.rs":"4dd9df0bd1f371da370c66808d16ad00a045ba3b997844b1164518b094bba951","src/shells/zsh.rs":"bf73a3253dfc023f1704d8ab28efbf5aa17e390a0fa337eebd3369684857a118"},"package":"bffe91f06a11b4b9420f62103854e90867812cd5d01557f853c5ee8e791b12ae"}
\ No newline at end of file diff --git a/vendor/clap_complete/Cargo.lock b/vendor/clap_complete/Cargo.lock index bef75813b..452559b47 100644 --- a/vendor/clap_complete/Cargo.lock +++ b/vendor/clap_complete/Cargo.lock @@ -133,15 +133,15 @@ dependencies = [ "anstyle", "backtrace", "bitflags", - "clap_lex", + "clap_lex 0.5.0", ] [[package]] name = "clap_complete" -version = "4.4.3" +version = "4.4.4" dependencies = [ "clap", - "clap_lex", + "clap_lex 0.6.0", "completest", "is_executable", "pathdiff", @@ -170,6 +170,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] +name = "clap_lex" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" + +[[package]] name = "colorchoice" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -177,9 +183,9 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "completest" -version = "0.0.20" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce6edca5001784bf331c3e712f9098a9346debeded6611206ed921a3f704474" +checksum = "c8084b60ec7306f1e9b4d855061147a5721eabbd860854213dd69679000cc86c" dependencies = [ "ptyprocess", "vt100", @@ -311,9 +317,9 @@ checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" [[package]] name = "glob" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "hashbrown" @@ -649,18 +655,18 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ "serde", ] [[package]] name = "shlex" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" [[package]] name = "similar" @@ -732,9 +738,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] diff --git a/vendor/clap_complete/Cargo.toml b/vendor/clap_complete/Cargo.toml index 442371d29..d71f151ba 100644 --- a/vendor/clap_complete/Cargo.toml +++ b/vendor/clap_complete/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" rust-version = "1.70.0" name = "clap_complete" -version = "4.4.3" +version = "4.4.4" include = [ "build.rs", "src/**/*", @@ -93,7 +93,7 @@ features = ["std"] default-features = false [dependencies.clap_lex] -version = "0.5.0" +version = "0.6.0" optional = true [dependencies.is_executable] @@ -122,7 +122,7 @@ features = [ default-features = false [dev-dependencies.completest] -version = "0.0.20" +version = "0.1.0" [dev-dependencies.snapbox] version = "0.4.13" diff --git a/vendor/clap_complete/README.md b/vendor/clap_complete/README.md index b09fbd7a3..cc283ce4b 100644 --- a/vendor/clap_complete/README.md +++ b/vendor/clap_complete/README.md @@ -5,16 +5,16 @@ [![Crates.io](https://img.shields.io/crates/v/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete) [![Crates.io](https://img.shields.io/crates/d/clap_complete?style=flat-square)](https://crates.io/crates/clap_complete) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.3/LICENSE-APACHE) -[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.3/LICENSE-MIT) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.4/LICENSE-APACHE) +[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.4/LICENSE-MIT) Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT). 1. [About](#about) 2. [API Reference](https://docs.rs/clap_complete) 3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions) -4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.3/clap_complete/CONTRIBUTING.md) -5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.3/README.md#sponsors) +4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.4/clap_complete/CONTRIBUTING.md) +5. [Sponsors](https://github.com/clap-rs/clap/blob/clap_complete-v4.4.4/README.md#sponsors) ## About diff --git a/vendor/clap_complete/src/dynamic/completer.rs b/vendor/clap_complete/src/dynamic/completer.rs index 3813e910a..8c8cb93cc 100644 --- a/vendor/clap_complete/src/dynamic/completer.rs +++ b/vendor/clap_complete/src/dynamic/completer.rs @@ -35,7 +35,7 @@ pub fn complete( ) -> Result<Vec<(std::ffi::OsString, Option<StyledStr>)>, std::io::Error> { cmd.build(); - let raw_args = clap_lex::RawArgs::new(args.into_iter()); + let raw_args = clap_lex::RawArgs::new(args); let mut cursor = raw_args.cursor(); let mut target_cursor = raw_args.cursor(); raw_args.seek( |