Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

Rusqlite has no features set by default.

[dependencies]
rusqlite = { version = "0.37.0", features = ["load_extension", "backup", "blob", "collation", "functions", "trace", "bundled", "bundled-sqlcipher", "bundled-sqlcipher-vendored-openssl", "buildtime_bindgen", "limits", "loadable_extension", "hooks", "preupdate_hook", "i128_blob", "sqlcipher", "unlock_notify", "vtab", "csvtab", "array", "session", "window", "series", "extra_check", "modern_sqlite", "in_gecko", "bundled-windows", "with-asan", "column_metadata", "column_decltype", "wasm32-wasi-vfs", "serialize", "modern-full", "bundled-full", "rusqlite-macros"] }
load_extension modern-full?

if not SQLITE_OMIT_LOAD_EXTENSION

backup modern-full?

hot-backup interface: 3.6.11 (2009-02-18)

Affects rusqlite::backup

blob modern-full?

if not SQLITE_OMIT_INCRBLOB
sqlite3_blob_reopen: 3.7.4

Affects rusqlite::blob

collation modern-full?
functions modern-full? window?

sqlite3_create_function_v2: 3.7.3 (2010-10-08)

Affects rusqlite::functions

trace modern-full?

sqlite3_log: 3.6.23 (2010-03-09)

Affects rusqlite::trace

bundled bundled-full? bundled-sqlcipher? = modern_sqlite

Enables bundled of libsqlite3-sys

bundled-sqlcipher bundled-sqlcipher-vendored-openssl? = bundled

Enables bundled-sqlcipher of libsqlite3-sys

bundled-sqlcipher-vendored-openssl = bundled-sqlcipher

Enables bundled-sqlcipher-vendored-openssl of libsqlite3-sys

buildtime_bindgen

Enables buildtime_bindgen of libsqlite3-sys

limits modern-full?

Affects rusqlite::limits

loadable_extension

Enables loadable_extension of libsqlite3-sys

hooks modern-full? preupdate_hook? session?

Affects inner_connection::InnerConnection.commit_hook, inner_connection::InnerConnection.rollback_hook, inner_connection::InnerConnection.update_hook, inner_connection::InnerConnection.progress_handler, inner_connection::InnerConnection.authorizer, rusqlite::hooks

preupdate_hook = hooks

if SQLITE_ENABLE_PREUPDATE_HOOK

Enables preupdate_hook of libsqlite3-sys

Affects inner_connection::InnerConnection.preupdate_hook

i128_blob modern-full?
sqlcipher

Enables sqlcipher of libsqlite3-sys

unlock_notify modern-full?

SQLITE_ENABLE_UNLOCK_NOTIFY

Enables unlock_notify of libsqlite3-sys

Affects unlock_notify::wait_for_unlock_notify

vtab array? csvtab? modern-full? series?

if not SQLITE_OMIT_VIRTUALTABLE
xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)

Affects rusqlite::vtab

csvtab modern-full? = csv, vtab

Affects vtab::csvtab

array modern-full? = modern_sqlite, vtab

pointer passing interfaces: 3.20.0

Affects vtab::array

session = hooks

if SQLITE_ENABLE_SESSION
session extension: 3.13.0

Enables session of libsqlite3-sys

Affects rusqlite::session

window modern-full? = functions, modern_sqlite

if not SQLITE_OMIT_WINDOWFUNC
window functions: 3.25.0

Affects functions::WindowAggregate

series modern-full? = vtab

3.9.0

Affects vtab::series

extra_check modern-full?

check for invalid query.

modern_sqlite array? bundled? in_gecko? modern-full? serialize? window?

]3.14.0, last]

Enables bundled_bindings of libsqlite3-sys

Affects error::error_with_offset, transaction::TransactionState

in_gecko = modern_sqlite

Enables in_gecko of libsqlite3-sys

bundled-windows

Enables bundled-windows of libsqlite3-sys

with-asan

Build bundled sqlite with -fsanitize=address

Enables with-asan of libsqlite3-sys

column_metadata modern-full?

if SQLITE_ENABLE_COLUMN_METADATA

Enables column_metadata of libsqlite3-sys

Affects column::ColumnMetadata

column_decltype modern-full?

if not SQLITE_OMIT_DECLTYPE

Affects column::Column

wasm32-wasi-vfs

Enables wasm32-wasi-vfs of libsqlite3-sys

serialize modern-full? = modern_sqlite

if not SQLITE_OMIT_DESERIALIZE
3.23.0

Affects rusqlite::serialize

modern-full bundled-full? = array, backup, blob, chrono, collation, column_decltype, column_metadata, csvtab, extra_check, functions, hooks, i128_blob, jiff, limits, load_extension, modern_sqlite, serde_json, serialize, series, time, trace, unlock_notify, url, uuid, vtab, window

Helper feature for enabling most non-build-related optional features or dependencies (except session). This is useful for running tests / clippy / etc. New features and optional dependencies that don't conflict with anything else should be added here.

bundled-full = bundled, modern-full

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.

jiff modern-full?

Enables jiff

Jiff Date/Time/Timestamp persistence

time modern-full?

Enables time

Date/Time/Timestamp persistence

chrono modern-full?

Enables chrono

Chrono Date/Time/Timestamp persistence

serde_json modern-full?

Enables serde_json

JSON persistence

csv csvtab?

Enables csv

Virtual table

url modern-full?

Enables url

Url persistence

uuid modern-full?

Enables uuid

Uuid persistence

rusqlite-macros implicit feature

Enables rusqlite-macros

WIP comptime checks