commit 8f4e269165091d6b9542f372410162f7fe34f61e
parent 2bb47c93d8265961a6a410f1ef06a15623032552
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 8 Sep 2021 18:46:13 +0200
Pin clap and update to edition 2021
Diffstat:
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/example-bot/Cargo.toml b/example-bot/Cargo.toml
@@ -1,8 +1,9 @@
+cargo-features = ["edition2021"]
[package]
name = "example-bot"
version = "0.1.0"
authors = ["MTRNord <mtrnord1@gmail.com>"]
-edition = "2018"
+edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -16,7 +17,8 @@ tracing = "0.1"
tracing-subscriber = "0.2"
tracing-futures = "0.2.4"
tokio = { version = "0.2", features = ["full"] }
-clap = "3.0.0-beta.2"
+clap = "=3.0.0-beta.2"
+clap_derive = "=3.0.0-beta.2"
async-trait = "0.1.41"
thiserror = "1.0"
regex = "1.4.3"
diff --git a/mrsbfh-macros/Cargo.toml b/mrsbfh-macros/Cargo.toml
@@ -1,8 +1,9 @@
+cargo-features = ["edition2021"]
[package]
name = "mrsbfh-macros"
version = "0.1.0"
authors = ["MTRNord <mtrnord1@gmail.com>"]
-edition = "2018"
+edition = "2021"
[lib]
proc-macro = true
diff --git a/mrsbfh/Cargo.toml b/mrsbfh/Cargo.toml
@@ -1,8 +1,9 @@
+cargo-features = ["edition2021"]
[package]
name = "mrsbfh"
version = "0.1.0"
authors = ["MTRNord <mtrnord1@gmail.com>"]
-edition = "2018"
+edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html