Chore: remove unused futures
crate for openssl
and native-tls
This commit is contained in:
parent
65c1d146a6
commit
aeb8fe0df0
@ -16,12 +16,12 @@ default = ["runtime"]
|
|||||||
runtime = ["tokio-postgres/runtime"]
|
runtime = ["tokio-postgres/runtime"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.3"
|
|
||||||
native-tls = "0.2"
|
native-tls = "0.2"
|
||||||
tokio = "1.0"
|
tokio = "1.0"
|
||||||
tokio-native-tls = "0.3"
|
tokio-native-tls = "0.3"
|
||||||
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
|
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[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" }
|
postgres = { version = "0.19.0", path = "../postgres" }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use futures::FutureExt;
|
use futures_util::FutureExt;
|
||||||
use native_tls::{self, Certificate};
|
use native_tls::{self, Certificate};
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
use tokio_postgres::tls::TlsConnect;
|
use tokio_postgres::tls::TlsConnect;
|
||||||
|
@ -16,12 +16,12 @@ default = ["runtime"]
|
|||||||
runtime = ["tokio-postgres/runtime"]
|
runtime = ["tokio-postgres/runtime"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.3"
|
|
||||||
openssl = "0.10"
|
openssl = "0.10"
|
||||||
tokio = "1.0"
|
tokio = "1.0"
|
||||||
tokio-openssl = "0.6"
|
tokio-openssl = "0.6"
|
||||||
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
|
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[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" }
|
postgres = { version = "0.19.0", path = "../postgres" }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use futures::FutureExt;
|
use futures_util::FutureExt;
|
||||||
use openssl::ssl::{SslConnector, SslMethod};
|
use openssl::ssl::{SslConnector, SslMethod};
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
use tokio_postgres::tls::TlsConnect;
|
use tokio_postgres::tls::TlsConnect;
|
||||||
|
Loading…
Reference in New Issue
Block a user