#sqlite #sqlx #sql-query #database-driver #mysql #async #compile-time

sqlx-etorreborre-sqlite

SQLite driver implementation for SQLx. Not for direct use; see the sqlx crate for details.

2 releases

0.7.9 Jul 3, 2024
0.7.8 Jul 3, 2024

#2068 in Database interfaces

Download history 774/week @ 2024-07-05 69/week @ 2024-07-12 13/week @ 2024-07-19 17/week @ 2024-07-26 1/week @ 2024-08-02 16/week @ 2024-09-13 20/week @ 2024-09-20 40/week @ 2024-09-27 7/week @ 2024-10-04 1/week @ 2024-10-11

51 downloads per month
Used in 2 crates (via sqlx-etorreborre)

MIT/Apache

735KB
14K SLoC

SQLite database driver.

Note: linkage is semver-exempt.

This driver uses the libsqlite3-sys crate which links the native library for SQLite 3. For portability, we enable the bundled feature which builds and links SQLite from source.

We reserve the right to upgrade the version of libsqlite3-sys as necessary to pick up new 3.x.y versions of SQLite.

Due to Cargo's requirement that only one version of a crate that links a given native library exists in the dependency graph at a time, using SQLx alongside another crate linking libsqlite3-sys like rusqlite is a semver hazard.

If you are doing so, we recommend pinning the version of both SQLx and the other crate you're using to prevent a cargo update from breaking things, e.g.:

sqlx = { version = "=0.7.0", features = ["sqlite"] }
rusqlite = "=0.28.0"

and then upgrade these crates in lockstep when necessary.

Dependencies

~29MB
~556K SLoC