Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

chore: Move async-bb8-diesel crate to crates.io version (#8028)

Anurag Thakur9d78c583f6c2
diff --git a/Cargo.lock b/Cargo.lock
index d2ae021370..6df00ec751 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -559,15 +559,16 @@ dependencies = [
[[package]]
name = "async-bb8-diesel"
-version = "0.1.0"
-source = "git+https://github.com/jarnura/async-bb8-diesel?rev=53b4ab901aab7635c8215fd1c2d542c8db443094#53b4ab901aab7635c8215fd1c2d542c8db443094"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebc03a2806f66f36513d65e0a7f34200382230250cadcf8a8397cfbe3f26b795"
dependencies = [
"async-trait",
"bb8",
"diesel",
+ "futures 0.3.30",
"thiserror 1.0.63",
"tokio 1.40.0",
- "tracing",
]
[[package]]
diff --git a/crates/diesel_models/Cargo.toml b/crates/diesel_models/Cargo.toml
index ca7e85628b..e10428c5da 100644
--- a/crates/diesel_models/Cargo.toml
+++ b/crates/diesel_models/Cargo.toml
@@ -17,7 +17,7 @@ payment_methods_v2 = []
refunds_v2 = []
[dependencies]
-async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
+async-bb8-diesel = "0.2.1"
diesel = { version = "2.2.3", features = ["postgres", "serde_json", "time", "128-column-tables"] }
error-stack = "0.4.1"
rustc-hash = "1.1.0"
diff --git a/crates/drainer/Cargo.toml b/crates/drainer/Cargo.toml
index ce7301a030..a783e8c912 100644
--- a/crates/drainer/Cargo.toml
+++ b/crates/drainer/Cargo.toml
@@ -14,7 +14,7 @@ v1 = ["diesel_models/v1", "hyperswitch_interfaces/v1", "common_utils/v1"]
[dependencies]
actix-web = "4.5.1"
-async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
+async-bb8-diesel = "0.2.1"
async-trait = "0.1.79"
bb8 = "0.8"
clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] }
diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml
index 5395e538c2..06fd5ce67b 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -53,7 +53,7 @@ actix-multipart = "0.6.1"
actix-rt = "2.9.0"
actix-web = "4.5.1"
argon2 = { version = "0.5.3", features = ["std"] }
-async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
+async-bb8-diesel = "0.2.1"
async-trait = "0.1.79"
base64 = "0.22.0"
bb8 = "0.8"
diff --git a/crates/storage_impl/Cargo.toml b/crates/storage_impl/Cargo.toml
index 06b551d831..ad712565b5 100644
--- a/crates/storage_impl/Cargo.toml
+++ b/crates/storage_impl/Cargo.toml
@@ -32,7 +32,7 @@ router_derive = { version = "0.1.0", path = "../router_derive" }
router_env = { version = "0.1.0", path = "../router_env" }
# Third party crates
-async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
+async-bb8-diesel = "0.2.1"
async-trait = "0.1.79"
bb8 = "0.8.3"
bytes = "1.6.0"