From 50a9ca190c9c2ead73cfcd6ebdf8b28dac950b8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 May 2025 04:44:57 +0000 Subject: [PATCH 1/2] chore(deps): bump rusqlite from 0.35.0 to 0.36.0 Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.35.0 to 0.36.0. - [Release notes](https://github.com/rusqlite/rusqlite/releases) - [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md) - [Commits](https://github.com/rusqlite/rusqlite/compare/v0.35.0...v0.36.0) --- updated-dependencies: - dependency-name: rusqlite dependency-version: 0.36.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5c8b21..5fc6cd2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -856,9 +856,9 @@ checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" [[package]] name = "libsqlite3-sys" -version = "0.33.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "947e6816f7825b2b45027c2c32e7085da9934defa535de4a6a46b10a4d5257fa" +checksum = "91632f3b4fb6bd1d72aa3d78f41ffecfcf2b1a6648d8c241dbe7dbfaf4875e15" dependencies = [ "cc", "pkg-config", @@ -1294,9 +1294,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.35.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a22715a5d6deef63c637207afbe68d0c72c3f8d0022d7cf9714c442d6157606b" +checksum = "3de23c3319433716cf134eed225fe9986bc24f63bed9be9f20c329029e672dc7" dependencies = [ "bitflags", "fallible-iterator", diff --git a/Cargo.toml b/Cargo.toml index 71dc7a6..4dc3fe7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ duration-string = "0.5.2" md5 = "0.7.0" regex = "1.11.1" reqwest = { version = "0.12.15", features = ["json", "stream", "blocking"] } -rusqlite = { version = "0.35.0", features = ["bundled", "backup"] } +rusqlite = { version = "0.36.0", features = ["bundled", "backup"] } serde = { version = "1.0.219", features = ["derive"] } serde_json = "1.0.140" url = "2.5.4" From 598305853d59cdb47b036b74890a2decfac2bcad Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Tue, 27 May 2025 19:09:05 +0000 Subject: [PATCH 2/2] Fix use of deprecated functionality --- src/download.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download.rs b/src/download.rs index e8c19fa..1ebb174 100644 --- a/src/download.rs +++ b/src/download.rs @@ -250,7 +250,7 @@ mod tests { let mut server = mockito::Server::new(); let mut rng = rand::rngs::StdRng::seed_from_u64(11); - let binary: Vec = iter::repeat_with(|| rng.gen()).take(2_000).collect(); + let binary: Vec = iter::repeat_with(|| rng.random()).take(2_000).collect(); let binary = std::sync::Arc::new(binary); let binary_clone = binary.clone();