From 2b35e3054e4d23f9c1495bb55a0961b3109b05f4 Mon Sep 17 00:00:00 2001 From: Erin Date: Mon, 11 Apr 2022 21:48:20 +0200 Subject: [PATCH] fixed repbuild --- Cargo.lock | 45 +++++++++++++++++++++++++++++++++++++++++++++ repbuild/Cargo.toml | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index a89be69c..d4df9a16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -181,13 +181,28 @@ checksum = "71c47df61d9e16dc010b55dba1952a57d8c215dbb533fd13cdd13369aac73b1c" dependencies = [ "atty", "bitflags", + "clap_derive", "indexmap", + "lazy_static", "os_str_bytes", "strsim", "termcolor", "textwrap", ] +[[package]] +name = "clap_derive" +version = "3.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1" +dependencies = [ + "heck", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "conquer-once" version = "0.3.2" @@ -331,6 +346,12 @@ dependencies = [ "ahash 0.7.6", ] +[[package]] +name = "heck" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -560,6 +581,30 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5c99d529f0d30937f6f4b8a86d988047327bb88d04d2c4afc356de74722131" +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + [[package]] name = "proc-macro-hack" version = "0.5.19" diff --git a/repbuild/Cargo.toml b/repbuild/Cargo.toml index f4bef60c..4b6ecada 100644 --- a/repbuild/Cargo.toml +++ b/repbuild/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" authors = ["Able", "NotAble"] [dependencies] -clap = "3.0.0-beta.5" +clap = { version = "3.1", features = ["cargo", "derive"] } xshell = "0.1.9" anyhow = "*"