diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 48f592483d..4c812429a4 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -8,7 +8,7 @@ publish = false default = ["isahc", "semver", "toml_edit"] [dependencies] -clap = { version = "3.1.6", features = ["derive"] } +clap = { version = "~3.1", features = ["derive"] } isahc = { version = "1.7.0", features = ["json"], optional = true } semver = { version = "1.0.6", features = ["serde"], optional = true } serde = { version = "1.0.136", features = ["derive"] } diff --git a/xtask/src/doc.rs b/xtask/src/doc.rs index ea36191ca5..4b49c430ea 100644 --- a/xtask/src/doc.rs +++ b/xtask/src/doc.rs @@ -3,6 +3,7 @@ use clap::Args; use crate::{cmd, Result}; #[derive(Args)] +#[allow(deprecated)] pub struct DocTask { /// Open the browser when the docs are built. #[clap(long)] diff --git a/xtask/src/release.rs b/xtask/src/release.rs index c37c824ad5..e22d259ad4 100644 --- a/xtask/src/release.rs +++ b/xtask/src/release.rs @@ -19,6 +19,7 @@ use crate::{cargo::Package, cmd, util::ask_yes_no, GithubConfig, Metadata, Resul const GITHUB_API_RUMA: &str = "https://api.github.com/repos/ruma/ruma"; #[derive(Args)] +#[allow(deprecated)] pub struct ReleaseArgs { /// The crate to release pub package: String,