How do I use sqlx and rustqlite in the same project workspace? #3295
Replies: 4 comments 3 replies
-
|
Same problem here !! And I found this post from somewhere... |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem. |
Beta Was this translation helpful? Give feedback.
-
|
rusqlite 0.32.1 and sqlx 0.8.6 is a recent working combination. |
Beta Was this translation helpful? Give feedback.
-
|
This PR seems to relax the libsqlite3-sys version requirements which should hopefully make it easier to combine with rusqlite. It's merged but not released yet, from what I can see. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 cleanprior 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