xtask: Prevent Cargo from upgrading clap to 3.2
https://github.com/clap-rs/clap/issues/3822
This commit is contained in:
parent
20d00919f3
commit
a47c8f08d3
@ -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"] }
|
||||
|
@ -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)]
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user