Replies: 1 comment 4 replies
-
Can you elaborate on why this needs an extra feature in diesel? You can just add the corresponding dependency by yourself and enable the feature flag there. Cargo feature flags are additive, so if your crate enables the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sqlite3 doesn't offer precompiled sqlite.lib for Windows 10, so diesel ( with the feature "sqlite") always build failed.
Now diesel has a feature: sqlite = ["libsqlite3-sys", "diesel_derives/sqlite"], and I try to change the feature as this: sqlite = ["libsqlite3-sys/bundled", "diesel_derives/sqlite"], then libsqlite3-sys will compile SQLite from source and link against that, and the problem is resolved.
Can we add a new feature for diesel like this: sqlite-bundled = ["libsqlite3-sys/bundled", "diesel_derives/sqlite"], then sqlite.lib has not to be installed on Windows 10(or Win11).
Beta Was this translation helpful? Give feedback.
All reactions