How do I use sqlx and rustqlite in the same project workspace? #3295
Unanswered
matthiasdebernardini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Same problem here !! And I found this post from somewhere... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using sqlx for postgres support in my project that is already using rusqlite.
They both depend on
libsqlite3-sys
, however for the postgres project I don't need sqlite since that is being covered by rustqlite.I only need postgres support. Is there a way to disable sqlite from sqlx completely? Or is there a way to "trick" sqlx to link to a version of sqlite that it will not use?
We can't use sqlite from sqlx because we want to offer our users a non-async version of storing their data. So rusqlite offers that.
I tried this approach,
#2772
but that did not solve it (I did
cargo clean
prior to compiling)Any help is appreciated, I'm unsure how to continue with maintaining version of rustqlite 31 and sqlx 0.7.4
Thanks
Beta Was this translation helpful? Give feedback.
All reactions