Skip to content

Commit

Permalink
Remove dependency on futures-channel in favour of tokio primitives (
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Feb 2, 2024
1 parent ed37efb commit 1087bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bb8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ readme = "../README.md"

[dependencies]
async-trait = "0.1"
futures-channel = "0.3.2"
futures-util = { version = "0.3.2", default-features = false, features = ["channel"] }
futures-util = { version = "0.3.2", default-features = false, features = ["alloc"] }
parking_lot = { version = "0.12", optional = true }
tokio = { version = "1.0", features = ["rt", "sync", "time"] }

Expand Down
3 changes: 1 addition & 2 deletions bb8/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ use std::time::Duration;
use std::{error, fmt};

use async_trait::async_trait;
use futures_channel::oneshot;
use futures_util::future::{err, lazy, ok, pending, ready, try_join_all, FutureExt};
use futures_util::stream::{FuturesUnordered, TryStreamExt};
use tokio::time::timeout;
use tokio::{sync::oneshot, time::timeout};

#[derive(Debug, PartialEq, Eq)]
pub struct Error;
Expand Down

0 comments on commit 1087bda

Please sign in to comment.