From 073e8aeb95b6d317bf6fb70315fa8106cce3ca03 Mon Sep 17 00:00:00 2001 From: Andy Golay Date: Thu, 26 Jun 2025 07:38:53 -0400 Subject: [PATCH 1/2] chore: ddowngrade diesel version to 2.2.0 --- rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 39246e103..7cf2de836 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -34,7 +34,7 @@ clap = { version = "4.5", features = ["derive", "unstable-styles"] } # Do NOT enable the postgres feature here, it is conditionally enabled in a feature # block in the Cargo.toml file for the processor crate. # https://github.com/aptos-labs/aptos-indexer-processors/pull/325 -diesel = { version = "2.2.3", features = [ +diesel = { version = "2.2.0", features = [ "chrono", "postgres_backend", "numeric", From 467589826baae23dd26aed8bfb3e33ef84b0bf2b Mon Sep 17 00:00:00 2001 From: Andy Golay Date: Thu, 26 Jun 2025 10:37:09 -0400 Subject: [PATCH 2/2] fix: diesel version in Cargo.lock --- rust/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 9197a0c71..f265c6b21 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -750,9 +750,9 @@ dependencies = [ [[package]] name = "diesel" -version = "2.2.4" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "158fe8e2e68695bd615d7e4f3227c0727b151330d3e253b525086c348d055d5e" +checksum = "35b696af9ff4c0d2a507db2c5faafa8aa0205e297e5f11e203a24226d5355e7a" dependencies = [ "bigdecimal", "bitflags 2.5.0",