Cargo Features

[dependencies]
libsqlite3-sys-ic = { version = "0.25.0", default-features = false, features = ["bundled", "bundled-windows", "bundled-sqlcipher", "bundled-sqlcipher-vendored-openssl", "buildtime_bindgen", "sqlcipher", "min_sqlite_version_3_6_8", "min_sqlite_version_3_7_7", "min_sqlite_version_3_7_16", "bundled_bindings", "unlock_notify", "preupdate_hook", "session", "wasm32-wasi-vfs", "winsqlite3"] }
default = min_sqlite_version_3_6_8

The min_sqlite_version_3_6_8 feature is set by default whenever libsqlite3-sys-ic is added without default-features = false somewhere in the dependency tree.

bundled bundled-sqlcipher? = bundled_bindings, cc
bundled-windows = bundled_bindings, cc
bundled-sqlcipher bundled-sqlcipher-vendored-openssl? = bundled
bundled-sqlcipher-vendored-openssl = bundled-sqlcipher

Enables vendored of openssl-sys

buildtime_bindgen preupdate_hook? session? = bindgen, pkg-config, vcpkg
sqlcipher
min_sqlite_version_3_6_8 default = pkg-config, vcpkg
min_sqlite_version_3_6_23 min_sqlite_version_3_7_7 = pkg-config, vcpkg
min_sqlite_version_3_7_16 winsqlite3? = pkg-config, vcpkg
bundled_bindings bundled? bundled-windows?

Bundle only the bindings file. Note that this does nothing if buildtime_bindgen is enabled.

unlock_notify

sqlite3_unlock_notify >= 3.6.12

preupdate_hook session? = buildtime_bindgen

3.13.0

session = buildtime_bindgen, preupdate_hook

3.13.0

in_gecko with-asan wasm32-wasi-vfs
winsqlite3 = min_sqlite_version_3_7_16

lowest version shipped with Windows 10.0.10586 was 3.8.8.3

Note that because winsqlite3.dll exports SQLite functions using a atypical ABI on 32-bit systems, this is currently unsupported on these. This may change in the future.

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?

Enables bindgen ^0.60

pkg-config build buildtime_bindgen? min_sqlite_version_3_6_23? min_sqlite_version_3_6_8 min_sqlite_version_3_7_16? min_sqlite_version_3_7_7?
cc build bundled? bundled-windows?
vcpkg build buildtime_bindgen? min_sqlite_version_3_6_23? min_sqlite_version_3_6_8 min_sqlite_version_3_7_16? min_sqlite_version_3_7_7?