-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Please do not turn off default features for url #3589
Comments
It appears that |
This issue broke our CI :( |
To fix, SQLx should upgrade the |
The |
This issue also broke our CI, and we had to do the following:
Change this: - cargo install sqlx-cli --no-default-features --features native-tls,mysql To: - git clone --branch v0.8.2 https://github.com/launchbadge/sqlx.git
- cd sqlx/sqlx-cli
- sed -i 's|url = { version = "2.2.2", default-features = false }|url = { version = "=2.5.2" }|' Cargo.toml
# (branch master) - sed -i '/^\[dependencies\]/a\url = "=2.5.2"' Cargo.toml
- cargo install --path . --features native-tls,mysql
- cd .. && rm -rf sqlx
- cd .. && cargo sqlx --version How does this look? |
This issue asks enabling updates to |
You're correct; I should have mentioned it's just a workaround. |
Hitting this issue as well |
Hitting this issue too. |
Bug Description
In d76b135 , sqlx-core turned off default features for
url
even thoughurl
didn't have default features at the time. This is disruptive now thaturl
has introduced default features in order to manage catering to both the pre-existing MSRV-sensitive audience and to new no_std audience: servo/rust-url#992Could you, please, remove
default-features = false
forurl
and publish a release?Minimal Reproduction
rustup default 1.80 cargo new idna-992-repro cd idna-992-repro/ cargo add sqlx cargo check
Info
rustc --version
: 1.80.1The text was updated successfully, but these errors were encountered: