Skip to content

Commit

Permalink
Merge pull request #35 from fakeshadow/dep/futures-util
Browse files Browse the repository at this point in the history
use futures_util for util functions
  • Loading branch information
sfackler authored Jul 8, 2021
2 parents b9505b9 + 383a3be commit 1d22cbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ An implementation of SSL streams for Tokio backed by OpenSSL
"""

[dependencies]
futures = "0.3"
futures-util = { version = "0.3", default-features = false }
openssl = "0.10.32"
openssl-sys = "0.9"
tokio = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! blocking [`Read`] and [`Write`] traits.
#![warn(missing_docs)]

use futures::future;
use futures_util::future;
use openssl::error::ErrorStack;
use openssl::ssl::{self, ErrorCode, ShutdownResult, Ssl, SslRef};
use std::fmt;
Expand Down
2 changes: 1 addition & 1 deletion src/test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::SslStream;
use futures::future;
use futures_util::future;
use openssl::ssl::{Ssl, SslAcceptor, SslConnector, SslFiletype, SslMethod};
use std::net::ToSocketAddrs;
use std::pin::Pin;
Expand Down

0 comments on commit 1d22cbd

Please sign in to comment.