Skip to content

Commit

Permalink
Upgrade tokio-openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Nov 13, 2018
1 parent 46d8160 commit 69ae601
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ linked_hash_set = "0.1"
openssl = "0.10.7"
openssl-sys = "0.9.26"
tokio-io = "0.1.2"
tokio-openssl = "0.2"
tokio-openssl = "0.3"
futures = "0.1.14"

[dev-dependencies]
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use openssl::ssl::{
ConnectConfiguration, Ssl, SslConnector, SslConnectorBuilder, SslMethod, SslSessionCacheMode,
};
use std::error::Error;
use std::fmt::Debug;
use std::io::{self, Read, Write};
use std::mem;
use std::sync::Arc;
Expand Down Expand Up @@ -112,6 +113,7 @@ impl HttpsConnector<HttpConnector> {
impl<T> HttpsConnector<T>
where
T: Connect,
T::Transport: Debug + Sync + Send,
{
/// Creates a new `HttpsConnector`.
///
Expand Down Expand Up @@ -159,6 +161,7 @@ where
impl<T> Connect for HttpsConnector<T>
where
T: Connect,
T::Transport: Debug + Sync + Send,
{
type Transport = MaybeHttpsStream<T::Transport>;
type Error = Box<Error + Sync + Send>;
Expand Down Expand Up @@ -200,6 +203,7 @@ where
impl<T> Future for ConnectFuture<T>
where
T: Connect,
T::Transport: Debug + Sync + Send,
{
type Item = (MaybeHttpsStream<T::Transport>, Connected);
type Error = Box<Error + Sync + Send>;
Expand Down

0 comments on commit 69ae601

Please sign in to comment.