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
cargo install diesel_cli --no-default-features --features "sqlite" fails on my windows machine because a dependent crate libsqlite3-sys can't find the sqlite headers and libs. However that crate has a feature "bundled" which will compile it's own version of sqlite. I can get around this when running cargo build on my app with diesel as a dependency:
[dependencies]
diesel = { version = "0.16.0", features = ["sqlite"] }
diesel_codegen = { version = "0.16.0", features = ["sqlite"] }
libsqlite3-sys = { version="*", features=["bundled"]}
in the Cargo.toml of my app. However there does not appear to be a way to do this using cargo install.
The text was updated successfully, but these errors were encountered:
Given this issue is quite old and should have been resolved already by both diesel side and Cargo, I am going to close it. If it is wrong, please leave a comment and we can check it again.
cargo install diesel_cli --no-default-features --features "sqlite"
fails on my windows machine because a dependent cratelibsqlite3-sys
can't find the sqlite headers and libs. However that crate has a feature "bundled" which will compile it's own version of sqlite. I can get around this when runningcargo build
on my app withdiesel
as a dependency:in the
Cargo.toml
of my app. However there does not appear to be a way to do this usingcargo install
.The text was updated successfully, but these errors were encountered: