Skip to content

Releases: rusqlite/rusqlite

0.12.0

29 May 18:45
Compare
Choose a tag to compare
  • Defines HAVE_USLEEP when building with a bundled SQLite (#263).
  • Updates dependencies to their latest versions, particularly serde to 1.0.
  • Adds support for vcpkg on Windows.
  • Adds ToSql impls for str and [u8].

0.11.0

29 May 18:46
Compare
Choose a tag to compare
  • Avoid publicly exporting SQLite constants multiple times from libsqlite3-sys.
  • Adds FromSql and ToSql impls for isize. Documents why usize and u64 are not included.

0.10.2

05 Apr 19:23
Compare
Choose a tag to compare
  • Avoid publicly exporting SQLite constants multiple times from libsqlite3-sys.
  • Adds FromSql and ToSql impls for isize. Documents why usize and u64 are not included.

0.10.1

03 Mar 21:10
Compare
Choose a tag to compare
  • Updates the bundled SQLite version to 3.17.0.
  • Changes the build process to no longer require bindgen. This should improve build times and no longer require a new-ish Clang. See the README for more details.

0.10.0

28 Feb 14:55
Compare
Choose a tag to compare

Changes:

  • Re-export the ErrorCode enum from libsqlite3-sys.
  • Adds version() and version_number() functions for querying the version of SQLite in use.
  • Adds the limits feature, exposing limit() and set_limit() methods on Connection.
  • Updates to libsqlite3-sys 0.7.0, which runs rust-bindgen at build-time instead of assuming the precense of all expected SQLite constants and functions.
  • Clarifies supported SQLite versions. Running with SQLite older than 3.6.8 now panics, and some features will not compile unless a sufficiently-recent SQLite version is used. See the README for requirements of particular features.
  • When running with SQLite 3.6.x, rusqlite attempts to perform SQLite initialization. If it fails, rusqlite will panic since it cannot ensure the threading mode for SQLite. This check can by skipped by calling the unsafe function rusqlite::bypass_sqlite_initialization(). This is technically a breaking change but is unlikely to affect anyone in practice, since prior to this version the check that rusqlite was using would cause a segfault if linked against a SQLite older than 3.7.0.
  • rusqlite now performs a one-time check (prior to the first connection attempt) that the runtime SQLite version is at least as new as the SQLite version found at buildtime. This check can by skipped by calling the unsafe function rusqlite::bypass_sqlite_version_check().
  • Removes the libc dependency in favor of using std::os::raw