1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 01:11:07 +01:00

Update examples

This commit is contained in:
Yuki Okushi 2020-03-12 04:35:41 +09:00
parent e6b6f08369
commit fbf7d6ef33
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)]