Pin clap_derive version (#2706)

* Pin clap_derive version

* Pin clap version in clap_generate
This commit is contained in:
Donough Liu 2021-08-17 16:43:37 +08:00 committed by GitHub
parent 9d5cf64d6a
commit b1d364a228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ name = "06_rustup"
path = "benches/06_rustup.rs"
[dependencies]
clap_derive = { path = "./clap_derive", version = "3.0.0-beta.4", optional = true }
clap_derive = { path = "./clap_derive", version = "=3.0.0-beta.4", optional = true }
bitflags = "1.2"
textwrap = { version = "0.14.0", default-features = false, features = [] }
indexmap = "1.0"

View file

@ -30,7 +30,7 @@ readme = "README.md"
bench = false
[dependencies]
clap = { path = "../", version = "3.0.0-beta.4" }
clap = { path = "../", version = "=3.0.0-beta.4" }
[dev-dependencies]
pretty_assertions = "0.7"