mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
update clap v3.0.4 -> v3.1.3
This commit is contained in:
parent
bf8c72df55
commit
c3917ddb5b
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -134,9 +134,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap"
|
name = "clap"
|
||||||
version = "3.0.7"
|
version = "3.1.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "12e8611f9ae4e068fa3e56931fded356ff745e70987ff76924a6e0ab1c8ef2e3"
|
checksum = "86f8c0e2a6b902acc18214e24a6935cdaf8a8e34231913d4404dcaee659f65a1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"bitflags",
|
"bitflags",
|
||||||
@ -160,9 +160,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap_derive"
|
name = "clap_derive"
|
||||||
version = "3.0.6"
|
version = "3.1.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "517358c28fcef6607bf6f76108e02afad7e82297d132a6b846dcc1fc3efcd153"
|
checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck",
|
"heck",
|
||||||
"proc-macro-error",
|
"proc-macro-error",
|
||||||
|
@ -15,7 +15,7 @@ description = "A command-line utility for easily compressing and decompressing f
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
atty = "0.2.14"
|
atty = "0.2.14"
|
||||||
bzip2 = "0.4.3"
|
bzip2 = "0.4.3"
|
||||||
clap = { version = "3.0.4", features = ["derive", "env"] }
|
clap = { version = "3.1.3", features = ["derive", "env"] }
|
||||||
flate2 = { version = "1.0.22", default-features = false }
|
flate2 = { version = "1.0.22", default-features = false }
|
||||||
fs-err = "2.6.0"
|
fs-err = "2.6.0"
|
||||||
libc = "0.2.103"
|
libc = "0.2.103"
|
||||||
|
2
build.rs
2
build.rs
@ -14,7 +14,7 @@ fn main() {
|
|||||||
|
|
||||||
let out = &Path::new(&env::var_os("OUT_DIR").unwrap()).join("completions");
|
let out = &Path::new(&env::var_os("OUT_DIR").unwrap()).join("completions");
|
||||||
create_dir_all(out).unwrap();
|
create_dir_all(out).unwrap();
|
||||||
let app = &mut Opts::into_app();
|
let app = &mut Opts::command();
|
||||||
|
|
||||||
for shell in Shell::value_variants() {
|
for shell in Shell::value_variants() {
|
||||||
generate_to(*shell, app, "ouch", out).unwrap();
|
generate_to(*shell, app, "ouch", out).unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user