-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Strange unwanted sqlite dependency when using sqlx 'chrono' feature along with rusqlite #3369
Comments
@abonander actually this issue is about a compilation failiure, so not about the lockfile ^^ @BSteffaniak You are trying to pull in two versions of sqlite which are different:
=> please use only one sqlite library version either by only using one library (I'd recomend this) or by using a compatible version (russqlite is too new). |
@CommanderStorm the root cause is #3211. OP specified that they don't have the |
The workaround would be to match up the |
@abonander thank you for the workaround. 👍 |
@abonander Have you considered bumping the libsqlite3-sys version to the most recent 0.30.0? |
Bug Description
SQLx doesn't seem to play nicely with rusqlite even when not using the sqlite feature.
I'd expect to be able to use rusqlite instead of the sqlx 'sqlite' (for various reasons unrelated to whether it is better or not).
Minimal Reproduction
Demonstration:
cargo build
chrono
feature enabled in theCargo.toml
cargo build
Am I understanding something incorrectly about how nested dependencies should work?
Thanks!
Info
rustc --version
: rustc 1.79.0 (129f3b996 2024-06-10)The text was updated successfully, but these errors were encountered: