From db38577ee6754fbba89ec8cebc422df651070530 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 2 Jul 2025 22:09:01 +0000 Subject: [PATCH] Update Rust crate diesel-async to v0.6.0 --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- crates/crates_io_database/Cargo.toml | 2 +- crates/crates_io_database_dump/Cargo.toml | 2 +- crates/crates_io_test_db/Cargo.toml | 2 +- crates/crates_io_worker/Cargo.toml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0de931e679a..6a30757f412 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2132,13 +2132,13 @@ dependencies = [ [[package]] name = "diesel-async" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51a307ac00f7c23f526a04a77761a0519b9f0eb2838ebf5b905a58580095bdcb" +checksum = "9494468d35ff3709c3b496b4b00d94a7bcba471565defb69885f73217c7d5842" dependencies = [ - "async-trait", "deadpool", "diesel", + "futures-core", "futures-util", "scoped-futures", "tokio", diff --git a/Cargo.toml b/Cargo.toml index 1f1e8517809..f6ea57d99b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,7 +85,7 @@ deadpool-diesel = { version = "=0.6.1", features = ["postgres", "tracing"] } derive_more = { version = "=2.0.1", features = ["deref", "deref_mut", "display"] } dialoguer = "=0.11.0" diesel = { version = "=2.2.11", features = ["postgres", "serde_json", "chrono", "numeric"] } -diesel-async = { version = "=0.5.2", features = ["async-connection-wrapper", "deadpool", "postgres"] } +diesel-async = { version = "=0.6.0", features = ["async-connection-wrapper", "deadpool", "postgres"] } diesel_full_text_search = "=2.2.0" diesel_migrations = { version = "=2.2.0", features = ["postgres"] } dotenvy = "=0.15.7" diff --git a/crates/crates_io_database/Cargo.toml b/crates/crates_io_database/Cargo.toml index b73d299bf34..ca0d3c8c3cb 100644 --- a/crates/crates_io_database/Cargo.toml +++ b/crates/crates_io_database/Cargo.toml @@ -13,7 +13,7 @@ chrono = { version = "=0.4.41", default-features = false, features = ["serde"] } crates_io_diesel_helpers = { path = "../crates_io_diesel_helpers" } crates_io_index = { path = "../crates_io_index" } diesel = { version = "=2.2.11", features = ["serde_json", "chrono", "numeric"] } -diesel-async = { version = "=0.5.2", features = ["postgres"] } +diesel-async = { version = "=0.6.0", features = ["postgres"] } diesel_full_text_search = "=2.2.0" futures-util = "=0.3.31" rand = "=0.9.1" diff --git a/crates/crates_io_database_dump/Cargo.toml b/crates/crates_io_database_dump/Cargo.toml index cc8bd9a6439..0a287cf4600 100644 --- a/crates/crates_io_database_dump/Cargo.toml +++ b/crates/crates_io_database_dump/Cargo.toml @@ -23,6 +23,6 @@ zip = { version = "=4.2.0", default-features = false, features = ["deflate"] } [dev-dependencies] crates_io_test_db = { path = "../crates_io_test_db" } diesel = "=2.2.11" -diesel-async = { version = "=0.5.2", features = ["postgres"] } +diesel-async = { version = "=0.6.0", features = ["postgres"] } insta = { version = "=1.43.1", features = ["glob"] } tokio = { version = "=1.46.0", features = ["macros", "rt"] } diff --git a/crates/crates_io_test_db/Cargo.toml b/crates/crates_io_test_db/Cargo.toml index 8abae50d0c7..523583eb6cb 100644 --- a/crates/crates_io_test_db/Cargo.toml +++ b/crates/crates_io_test_db/Cargo.toml @@ -10,7 +10,7 @@ workspace = true [dependencies] crates_io_env_vars = { path = "../crates_io_env_vars" } diesel = { version = "=2.2.11", features = ["postgres", "r2d2"] } -diesel-async = { version = "=0.5.2", features = ["postgres"] } +diesel-async = { version = "=0.6.0", features = ["postgres"] } diesel_migrations = { version = "=2.2.0", features = ["postgres"] } rand = "=0.9.1" tracing = "=0.1.41" diff --git a/crates/crates_io_worker/Cargo.toml b/crates/crates_io_worker/Cargo.toml index db24197f1b0..2241693c9c5 100644 --- a/crates/crates_io_worker/Cargo.toml +++ b/crates/crates_io_worker/Cargo.toml @@ -10,7 +10,7 @@ workspace = true [dependencies] anyhow = "=1.0.98" diesel = { version = "=2.2.11", features = ["postgres", "serde_json"] } -diesel-async = { version = "=0.5.2", features = ["async-connection-wrapper", "deadpool", "postgres"] } +diesel-async = { version = "=0.6.0", features = ["async-connection-wrapper", "deadpool", "postgres"] } futures-util = "=0.3.31" sentry-core = { version = "=0.41.0", features = ["client"] } serde = { version = "=1.0.219", features = ["derive"] }