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
using sqlx (with default features disabled) and rusqlite in different crates that are in the same workspace causes their lib-sqlite3 dependency to clash.
I want to have my workspace build, but I can't unless I downgrade rusqlite to a version that's compatible with the version that sqlx links to. It should not try to look for libsqlite in the system if the features are disabled and I am only using postgres.
The reason I am not using sqlite from sqlx is because we want to offer to our users both a non-async way (rusqlite) and an async way (sqlx) to store their data.
I made an discussion here but after some consideration I don't think that that sqlite3 should be enabled when default features are disabled.
Bug Description
using sqlx (with default features disabled) and rusqlite in different crates that are in the same workspace causes their lib-sqlite3 dependency to clash.
I want to have my workspace build, but I can't unless I downgrade rusqlite to a version that's compatible with the version that sqlx links to. It should not try to look for libsqlite in the system if the features are disabled and I am only using postgres.
The reason I am not using sqlite from sqlx is because we want to offer to our users both a non-async way (rusqlite) and an async way (sqlx) to store their data.
I made an discussion here but after some consideration I don't think that that sqlite3 should be enabled when default features are disabled.
I also read the documentation here https://github.com/launchbadge/sqlx/blob/main/sqlx-sqlite/src/lib.rs but this doesn't fix my problem because we are building in a workspace that has crates and binaries. So I think the resolver works differently.
Info
rustc --version
: rustc 1.78.0 (9b00956e5 2024-04-29)The text was updated successfully, but these errors were encountered: