diff --git a/Cargo.lock b/Cargo.lock index b8c80cbadaa865..5548fa5c074736 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1800,24 +1800,14 @@ dependencies = [ "tokio", ] -[[package]] -name = "bb8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d8b8e1a22743d9241575c6ba822cf9c8fef34771c86ab7e477a4fbfd254e5" -dependencies = [ - "futures-util", - "parking_lot 0.12.1", - "tokio", -] - [[package]] name = "bb8-postgres" -version = "0.9.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e570e6557cd0f88d28d32afa76644873271a70dc22656df565b2021c4036aa9c" +checksum = "56ac82c42eb30889b5c4ee4763a24b8c566518171ebea648cd7e3bc532c60680" dependencies = [ - "bb8 0.9.0", + "async-trait", + "bb8", "tokio", "tokio-postgres", ] @@ -3777,7 +3767,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb799bb6f8ca6a794462125d7b8983b0c86e6c93a33a9c55934a4a5de4409d3" dependencies = [ "async-trait", - "bb8 0.8.5", + "bb8", "diesel", "futures-util", "scoped-futures", @@ -13968,7 +13958,7 @@ dependencies = [ "async-trait", "axum 0.7.5", "backoff", - "bb8 0.8.5", + "bb8", "bcs", "bytes", "cached", @@ -14080,7 +14070,7 @@ dependencies = [ "async-trait", "axum 0.7.5", "backoff", - "bb8 0.8.5", + "bb8", "chrono", "clap", "diesel", @@ -14909,7 +14899,7 @@ name = "sui-pg-db" version = "1.42.0" dependencies = [ "anyhow", - "bb8 0.8.5", + "bb8", "clap", "diesel", "diesel-async", @@ -15144,7 +15134,7 @@ name = "sui-rpc-benchmark" version = "1.42.0" dependencies = [ "anyhow", - "bb8 0.9.0", + "bb8", "bb8-postgres", "clap", "dashmap", diff --git a/crates/sui-rpc-benchmark/Cargo.toml b/crates/sui-rpc-benchmark/Cargo.toml index c34c2f9753a6f8..6e190f32639784 100644 --- a/crates/sui-rpc-benchmark/Cargo.toml +++ b/crates/sui-rpc-benchmark/Cargo.toml @@ -19,8 +19,8 @@ tracing.workspace = true tokio = { workspace = true, features = ["full"] } url.workspace = true tokio-postgres = "0.7.12" -bb8 = "0.9.0" -bb8-postgres = "0.9.0" +bb8 = "0.8.5" +bb8-postgres = "0.8.0" [[bin]] name = "sui-rpc-benchmark"