diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index 85230eeb..d7eab1ca 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-connect" -version = "0.2.1" +version = "0.2.2" authors = ["Nikolay Kim "] description = "Actix Connector - tcp connector service" keywords = ["network", "framework", "async", "futures"] diff --git a/actix-connect/src/ssl/rustls.rs b/actix-connect/src/ssl/rustls.rs index 2358af07..9a518507 100644 --- a/actix-connect/src/ssl/rustls.rs +++ b/actix-connect/src/ssl/rustls.rs @@ -4,9 +4,12 @@ use std::marker::PhantomData; use actix_codec::{AsyncRead, AsyncWrite}; use actix_service::{NewService, Service}; use futures::{future::ok, future::FutureResult, Async, Future, Poll}; -use webpki::DNSNameRef; -use tokio_rustls::{TlsConnector, TlsStream, Connect, rustls::{ClientConfig, ClientSession}}; use std::sync::Arc; +use tokio_rustls::{ + rustls::{ClientConfig, ClientSession}, + Connect, TlsConnector, TlsStream, +}; +use webpki::DNSNameRef; use crate::{Address, Connection};