xtask: Prevent Cargo from upgrading clap to 3.2

https://github.com/clap-rs/clap/issues/3822
This commit is contained in:
Jonas Platte 2022-06-13 19:29:33 +02:00
parent 20d00919f3
commit a47c8f08d3
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
3 changed files with 3 additions and 1 deletions

View File

@ -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"] }

View File

@ -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)]

View File

@ -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,