Skip to content

Commit 37efe24

Browse files
authored
chore: Update bb8 to version 0.9.0 (#6127)
* chore: Update bb8 to version 0.9.0 * use Rust async for bb8 powered-services
1 parent 75908a9 commit 37efe24

File tree

7 files changed

+3
-9
lines changed

7 files changed

+3
-9
lines changed

core/Cargo.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ rand = { version = "0.8", optional = true }
272272

273273
# Services
274274
# general dependencies.
275-
bb8 = { version = "0.8", optional = true }
275+
bb8 = { version = "0.9", optional = true }
276276
prost = { version = "0.13", optional = true }
277277
sha1 = { version = "0.10.6", optional = true }
278278
sha2 = { version = "0.10", optional = true }

core/src/services/etcd/backend.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ pub struct Manager {
205205
options: ConnectOptions,
206206
}
207207

208-
#[async_trait::async_trait]
209208
impl bb8::ManageConnection for Manager {
210209
type Connection = Client;
211210
type Error = Error;

core/src/services/ftp/core.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ pub struct Manager {
7272
pub enable_secure: bool,
7373
}
7474

75-
#[async_trait::async_trait]
7675
impl bb8::ManageConnection for Manager {
7776
type Connection = AsyncRustlsFtpStream;
7877
type Error = FtpError;

core/src/services/memcached/backend.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ impl MemcacheConnectionManager {
258258
}
259259
}
260260

261-
#[async_trait::async_trait]
262261
impl bb8::ManageConnection for MemcacheConnectionManager {
263262
type Connection = binary::Connection;
264263
type Error = Error;

core/src/services/redis/core.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub struct RedisConnectionManager {
7070
pub cluster_client: Option<ClusterClient>,
7171
}
7272

73-
#[async_trait::async_trait]
7473
impl bb8::ManageConnection for RedisConnectionManager {
7574
type Connection = RedisConnection;
7675
type Error = Error;

core/src/services/sftp/core.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ pub struct Manager {
9191
known_hosts_strategy: KnownHosts,
9292
}
9393

94-
#[async_trait::async_trait]
9594
impl bb8::ManageConnection for Manager {
9695
type Connection = Sftp;
9796
type Error = Error;

0 commit comments

Comments
 (0)