mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 21:22:57 +01:00
Update examples
This commit is contained in:
parent
e6b6f08369
commit
fbf7d6ef33
@ -11,7 +11,7 @@ use actix_codec::{AsyncRead, AsyncWrite};
|
|||||||
use actix_rt::System;
|
use actix_rt::System;
|
||||||
use actix_server::{Io, Server};
|
use actix_server::{Io, Server};
|
||||||
use actix_service::{service_fn, NewService};
|
use actix_service::{service_fn, NewService};
|
||||||
use futures::{future, Future};
|
use futures_util::{future, Future};
|
||||||
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
||||||
use tokio_openssl::SslAcceptorExt;
|
use tokio_openssl::SslAcceptorExt;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ use std::sync::{
|
|||||||
use actix_rt::System;
|
use actix_rt::System;
|
||||||
use actix_server::{ssl, Server};
|
use actix_server::{ssl, Server};
|
||||||
use actix_service::NewService;
|
use actix_service::NewService;
|
||||||
use futures::future;
|
use futures_util::future;
|
||||||
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user