diff --git a/Cargo.toml b/Cargo.toml index ed4cae93ca..c5da6081ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -194,13 +194,13 @@ rand_xoshiro = "0.6.0" hex = "0.4.3" tempfile = "3.10.1" criterion = { version = "0.5.1", features = ["async_tokio"] } -libsqlite3-sys = { version = "0.30.1" } +libsqlite3-sys = { version = "0.34.0" } # If this is an unconditional dev-dependency then Cargo will *always* try to build `libsqlite3-sys`, # even when SQLite isn't the intended test target, and fail if the build environment is not set up for compiling C code. [target.'cfg(sqlite_test_sqlcipher)'.dev-dependencies] # Enable testing with SQLCipher if specifically requested. -libsqlite3-sys = { version = "0.30.1", features = ["bundled-sqlcipher"] } +libsqlite3-sys = { version = "0.34.0", features = ["bundled-sqlcipher"] } # Common lint settings for the workspace [workspace.lints.clippy] diff --git a/sqlx-sqlite/Cargo.toml b/sqlx-sqlite/Cargo.toml index a84dccc6dc..d08ee9ed5d 100644 --- a/sqlx-sqlite/Cargo.toml +++ b/sqlx-sqlite/Cargo.toml @@ -61,7 +61,7 @@ serde = { version = "1.0.145", features = ["derive"], optional = true } regex = { version = "1.5.5", optional = true } [dependencies.libsqlite3-sys] -version = "0.30.1" +version = "0.34.0" default-features = false features = [ "pkg-config", @@ -75,6 +75,11 @@ workspace = true [dev-dependencies] sqlx = { workspace = true, default-features = false, features = ["macros", "runtime-tokio", "tls-none", "sqlite"] } +[build-dependencies] +# FIXME: https://github.com/rusqlite/rusqlite/issues/1716 +# force `prettyplease` to a minimum version that supports C-string literals +prettyplease = "0.2.18" + [lints] workspace = true