From 9e86859704822c95e69e6853dc76ba56c0c5f19f Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Thu, 21 Mar 2024 19:12:34 -0400 Subject: [PATCH] Allow any `rusqlite >= 0.30` dependencies --- Cargo.lock | 6 +++--- Cargo.toml | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e7c9d25..2d9b3eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -755,13 +755,13 @@ checksum = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21" [[package]] name = "smallvec" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "sqlite-hashes" -version = "0.7.0" +version = "0.7.1" dependencies = [ "cargo-husky", "criterion", diff --git a/Cargo.toml b/Cargo.toml index 80b3376..fd402f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlite-hashes" -version = "0.7.0" # This value is also used in the README.md +version = "0.7.1" # This value is also used in the README.md description = "Hashing functions for SQLite with aggregation support: MD5, SHA1, SHA256, SHA512, FNV-1a, xxHash" authors = ["Yuri Astrakhan "] repository = "https://github.com/nyurik/sqlite-hashes" @@ -58,8 +58,10 @@ xxhash = ["dep:noncrypto-digests", "noncrypto-digests?/xxh3", "noncrypto-digests [dependencies] hex = { version = "0.4", optional = true } -log = { version = "0.4", optional = true } -rusqlite = { version = "0.31", features = ["functions"] } +log = { version = "0.4.4", optional = true } + +# There are multiple versions that could work, but sqlx requires a specific one, so don't limit it here +rusqlite = { version = ">=0.30", features = ["functions"] } # Digest and all hashing algorithms are using the same crates internally, so should be kept in sync digest = "0.10.7"