diff --git a/examples/basic.rs b/examples/basic.rs index 5ff109d2..3de6d212 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -11,7 +11,7 @@ use actix_codec::{AsyncRead, AsyncWrite}; use actix_rt::System; use actix_server::{Io, Server}; use actix_service::{service_fn, NewService}; -use futures::{future, Future}; +use futures_util::{future, Future}; use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod}; use tokio_openssl::SslAcceptorExt; diff --git a/examples/ssl.rs b/examples/ssl.rs index b7b70f1d..d15ed77a 100644 --- a/examples/ssl.rs +++ b/examples/ssl.rs @@ -7,7 +7,7 @@ use std::sync::{ use actix_rt::System; use actix_server::{ssl, Server}; use actix_service::NewService; -use futures::future; +use futures_util::future; use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod}; #[derive(Debug)]