diff --git a/examples/basic.rs b/examples/basic.rs index 5bbd529c..8a21348d 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -20,7 +20,8 @@ use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod}; use tokio_io::{AsyncRead, AsyncWrite}; use tokio_openssl::SslAcceptorExt; -use actix_net::{IntoNewService, NewServiceExt, Server}; +use actix_net::server::Server; +use actix_net::service::{IntoNewService, NewServiceExt}; /// Simple logger service, it just prints fact of the new connections fn logger( diff --git a/examples/ssl.rs b/examples/ssl.rs index 0f8043d1..86233c4f 100644 --- a/examples/ssl.rs +++ b/examples/ssl.rs @@ -14,7 +14,9 @@ use futures::{future, Future}; use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod}; use tokio_io::{AsyncRead, AsyncWrite}; -use actix_net::{ssl, NewServiceExt, Server}; +use actix_net::server::Server; +use actix_net::service::NewServiceExt; +use actix_net::ssl; #[derive(Debug)] struct ServiceState {