diff --git a/postgres-native-tls/Cargo.toml b/postgres-native-tls/Cargo.toml index 8180cd01..1f2f6385 100644 --- a/postgres-native-tls/Cargo.toml +++ b/postgres-native-tls/Cargo.toml @@ -16,12 +16,12 @@ default = ["runtime"] runtime = ["tokio-postgres/runtime"] [dependencies] -futures = "0.3" native-tls = "0.2" tokio = "1.0" tokio-native-tls = "0.3" tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false } [dev-dependencies] -tokio = { version = "1.0", features = ["full"] } +futures-util = "0.3" +tokio = { version = "1.0", features = ["macros", "net", "rt"] } postgres = { version = "0.19.0", path = "../postgres" } diff --git a/postgres-native-tls/src/test.rs b/postgres-native-tls/src/test.rs index 7a50bc67..25cc6fdb 100644 --- a/postgres-native-tls/src/test.rs +++ b/postgres-native-tls/src/test.rs @@ -1,4 +1,4 @@ -use futures::FutureExt; +use futures_util::FutureExt; use native_tls::{self, Certificate}; use tokio::net::TcpStream; use tokio_postgres::tls::TlsConnect; diff --git a/postgres-openssl/Cargo.toml b/postgres-openssl/Cargo.toml index 5738e74d..8671308a 100644 --- a/postgres-openssl/Cargo.toml +++ b/postgres-openssl/Cargo.toml @@ -16,12 +16,12 @@ default = ["runtime"] runtime = ["tokio-postgres/runtime"] [dependencies] -futures = "0.3" openssl = "0.10" tokio = "1.0" tokio-openssl = "0.6" tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false } [dev-dependencies] -tokio = { version = "1.0", features = ["full"] } +futures-util = "0.3" +tokio = { version = "1.0", features = ["macros", "net", "rt"] } postgres = { version = "0.19.0", path = "../postgres" } diff --git a/postgres-openssl/src/test.rs b/postgres-openssl/src/test.rs index 15ed90ad..b361ee44 100644 --- a/postgres-openssl/src/test.rs +++ b/postgres-openssl/src/test.rs @@ -1,4 +1,4 @@ -use futures::FutureExt; +use futures_util::FutureExt; use openssl::ssl::{SslConnector, SslMethod}; use tokio::net::TcpStream; use tokio_postgres::tls::TlsConnect;