mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 16:44:07 +00:00
fix(cli): pin clap_derive version (#1381)
When `clap_derive 3.0.0-beta.4` released, new invocations of `cargo install sqlx-cli` would try to compile that against `clap 3.0.0-beta.2` which caused some breakages. Until `clap 3.0.0` proper is released, we need to pin both versions to insure against potential breakages from automatic upgrades. closes #1378
This commit is contained in:
@@ -34,7 +34,11 @@ sqlx = { version = "0.5.5", path = "..", default-features = false, features = [
|
||||
"offline",
|
||||
] }
|
||||
futures = "0.3"
|
||||
# FIXME: we need to fix both of these versions until Clap 3.0 proper is released, then we can drop `clap_derive`
|
||||
# https://github.com/launchbadge/sqlx/issues/1378
|
||||
# https://github.com/clap-rs/clap/issues/2705
|
||||
clap = "=3.0.0-beta.2"
|
||||
clap_derive = "=3.0.0-beta.2"
|
||||
chrono = "0.4"
|
||||
anyhow = "1.0"
|
||||
url = { version = "2.1.1", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user