From fbdb6d11aaa52d655e060d64d1bdf45493bda8f9 Mon Sep 17 00:00:00 2001 From: drdr xp Date: Wed, 15 Jun 2022 15:22:05 +0800 Subject: [PATCH] CI: workaround pin clap version to 3.1 or there are inappropriate lint errors: https://github.com/clap-rs/clap/issues/3822 --- openraft/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openraft/Cargo.toml b/openraft/Cargo.toml index b423c8c20..00cce86b2 100644 --- a/openraft/Cargo.toml +++ b/openraft/Cargo.toml @@ -27,7 +27,7 @@ futures = "0.3" maplit = "1.0.2" rand = "0.8" serde = { version="1", features=["derive", "rc"], optional = true} -clap = { version = "3.0.7", features = ["derive", "env"] } +clap = { version = "~3.1", features = ["derive", "env"] } thiserror = "1.0.29" tokio = { version="1.8", default-features=false, features=["fs", "io-util", "macros", "rt", "rt-multi-thread", "sync", "time"] } tracing = "0.1.29"