how to solve "error: failed to select a version for libsqlite3-sys
"
#95
-
When I run
I am still new to axum and rust, so maybe I am overseeing something. my dependencies from the Cargo.toml
I also tried to run the dependencies from the Cargo.tom from the examples, but I get the error ``error: failed to select a version for
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This has to do with For now, you can use my fork: [dependencies.async-sqlx-session]
git = "https://github.com/maxcountryman/async-sqlx-session"
branch = "main" |
Beta Was this translation helpful? Give feedback.
-
This should no longer be an issue now that we've redesigned the crate. Please let us know if you run into any additional issues. |
Beta Was this translation helpful? Give feedback.
Sorry you're having trouble here. I'm working on some separate, upstream changes and my goal is to make the third party dependencies much easier to wrangle on the user side.
For now, you'll have to use the version of sqlx that your axum-login requires (so that would be 0.6.x I think; make sure axum-session requires the same).