Cargo Features
[dependencies]
libsqlite3-sys = { version = "0.37.0", default-features = false, features = ["bundled", "bundled-windows", "bundled-sqlcipher", "bundled-sqlcipher-vendored-openssl", "buildtime_bindgen", "sqlcipher", "min_sqlite_version_3_34_1", "bundled_bindings", "loadable_extension", "unlock_notify", "column_metadata", "preupdate_hook", "session", "wasm32-wasi-vfs"] }
- default = min_sqlite_version_3_34_1
-
The
min_sqlite_version_3_34_1feature is set by default wheneverlibsqlite3-sysis added withoutsomewhere in the dependency tree.default-features = false - bundled bundled-sqlcipher? = bundled_bindings, cc
-
Use bundled SQLite sources (instead of the one provided by your OS / distribution)
- bundled-windows = bundled_bindings, cc
- bundled-sqlcipher bundled-sqlcipher-vendored-openssl? = bundled
-
Use bundled SQLCipher sources
- bundled-sqlcipher-vendored-openssl = bundled-sqlcipher
-
Enables vendored of openssl-sys
- buildtime_bindgen preupdate_hook? session? = bindgen, pkg-config, vcpkg
- sqlcipher
-
Use SQLCipher instead of SQLite
- min_sqlite_version_3_34_1 default = pkg-config, vcpkg
-
Minimal version required by rusqlite
- bundled_bindings bundled? bundled-windows?
-
Bundle only the bindings file. Note that this does nothing if
buildtime_bindgenis enabled. - loadable_extension = prettyplease, quote, syn
-
Used to generate a cdylib
Affects
error::InitError… - unlock_notify
-
SQLITE_ENABLE_UNLOCK_NOTIFY
- column_metadata
-
SQLITE_ENABLE_COLUMN_METADATA
- preupdate_hook session? = buildtime_bindgen
-
SQLITE_ENABLE_PREUPDATE_HOOK
- session = buildtime_bindgen, preupdate_hook
-
SQLITE_ENABLE_SESSION
- in_gecko with-asan wasm32-wasi-vfs
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- openssl-sys bundled-sqlcipher-vendored-openssl?
- bindgen build buildtime_bindgen?
- pkg-config build buildtime_bindgen? min_sqlite_version_3_34_1
- cc build bundled? bundled-windows?
- vcpkg build buildtime_bindgen? min_sqlite_version_3_34_1
- prettyplease build loadable_extension?
-
Enables prettyplease
for loadable_extension:
- quote build loadable_extension?
-
Enables quote
like bindgen
- syn build loadable_extension?
-
Enables syn
like bindgen