diff --git a/bb8/Cargo.toml b/bb8/Cargo.toml index 45b1aa3..fecc382 100644 --- a/bb8/Cargo.toml +++ b/bb8/Cargo.toml @@ -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"] } diff --git a/bb8/tests/test.rs b/bb8/tests/test.rs index 43e233d..1c4658c 100644 --- a/bb8/tests/test.rs +++ b/bb8/tests/test.rs @@ -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;