You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sqlx-cli we were pinning the previous beta release of clap via the following:
clap = "=3.0.0-beta.2"
However, because clap itself does not pin the version of clap_derive, when 3.0.0-beta.4 was released with breaking changes it made our users unable to simply run cargo install sqlx-cli as clap 3.0.0-beta.2 was pulling in clap_derive 3.0.0-beta.4 which generated incompatible code: launchbadge/sqlx#1378
I'm already working on a fix on our end, adding clap_derive = "=3.0.0-beta.2" to sqlx-cli/Cargo.toml, but I just wanted to put this out there if you're planning any more beta releases before 3.0 proper, that you should consider pinning clap_derive to the same version when importing it in clap so beta users don't have to remember to pin them both to avoid breakages.
The text was updated successfully, but these errors were encountered:
In
sqlx-cli
we were pinning the previous beta release ofclap
via the following:However, because
clap
itself does not pin the version ofclap_derive
, when3.0.0-beta.4
was released with breaking changes it made our users unable to simply runcargo install sqlx-cli
asclap 3.0.0-beta.2
was pulling inclap_derive 3.0.0-beta.4
which generated incompatible code: launchbadge/sqlx#1378I'm already working on a fix on our end, adding
clap_derive = "=3.0.0-beta.2"
tosqlx-cli/Cargo.toml
, but I just wanted to put this out there if you're planning any more beta releases before 3.0 proper, that you should consider pinningclap_derive
to the same version when importing it inclap
so beta users don't have to remember to pin them both to avoid breakages.The text was updated successfully, but these errors were encountered: