-
Notifications
You must be signed in to change notification settings - Fork 1.4k
sqlx-cli 0.5.10 install fails if only built with postgres feature #1604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Most likely caused by #1584. The issue is fixed by also including either the |
Heh, I knew that PR would break something with those instructions, I just focused in the wrong thing. |
Thanks! Will the docs get updated or Cargo.toml "fixed"? |
The docs will be updated but I don't think we'll be putting out a patch release just for this. It's just a minor hiccup which is unfortunately another gotcha with the coupling of the runtime selection and TLS integration. We've got some plans to address this in the next major release but no significant developments yet. |
I'll be the outsider who barges in and complains that a patch release broke their CI pipeline. Not even obscure usage, but literally the second example in https://github.com/launchbadge/sqlx/tree/master/sqlx-cli What's done is done, but #1584 should really have been a major release. |
To be fair, if you're using that command to install it in CI then a major release would have broken it all the same since It's probably a good idea to change your script to always install an exact version and then upgrade it manually. |
Install instructions have been updated: https://github.com/launchbadge/sqlx/tree/master/sqlx-cli#with-rust-toolchain |
As stated in this sqlx issue: launchbadge/sqlx#1604
Hello, Im facing this same issue
even after following the installation instruction |
Installation instructions in the |
To repro:
yields:
I think this appeared in 0.5.10, but am unsure. 0.5.5 worked for me.
The text was updated successfully, but these errors were encountered: