Crate features / sqlx-sqlite
Feature flags · sqlx-sqlite 0.9.0 · from crates.io 2026-10-24
sqlx-sqlite features: what each one does, and the line to copy
Short answersqlx-sqlite 0.9.0 has 20 features. Nothing is on by default: turn on what you use. It needs Rust 1.94.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
_unstable-all-sqlite-features | deserialize, load-extension, preupdate-hook, unlock-notify | |
_unstable-all-types | json, chrono, time, uuid | |
_unstable-docs | bundled, any, _unstable-all-types, _unstable-all-sqlite-features | |
any | sqlx-core/any | |
bigdecimal | nothing else (a switch the code checks) | |
bundled | libsqlite3-sys/bundled | |
chrono | dep:chrono, sqlx-core/chrono | |
deserialize | nothing else (a switch the code checks) | |
json | sqlx-core/json, serde | |
load-extension | nothing else (a switch the code checks) | |
migrate | sqlx-core/migrate | |
offline | sqlx-core/offline, serde | |
preupdate-hook | libsqlite3-sys/preupdate_hook | |
regexp | dep:regex | |
rust_decimal | nothing else (a switch the code checks) | |
sqlx-toml | sqlx-core/sqlx-toml | |
time | dep:time, sqlx-core/time | |
unbundled | libsqlite3-sys/buildtime_bindgen | |
unlock-notify | libsqlite3-sys/unlock_notify | |
uuid | dep:uuid, sqlx-core/uuid |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version sqlx-sqlite declares (rust-version), and the release that changed it:
- 0.9.0-alpha.1 (2025-10-15): Rust 1.86.0
- 0.9.0 (2026-05-21): Rust 1.94.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p sqlx-sqlite --precise <version>, or use resolver 3, which picks compatible versions for you.
More on sqlx-sqlite
Real downloads, dependents and alternatives: sqlx-sqlite crate data (495.5K real downloads a day, 20 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itsqlx-sqlite crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?