1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

cleanup imports

This commit is contained in:
Nikolay Kim
2019-12-13 11:24:57 +06:00
parent b81417c2fa
commit c1deaaeb2f
31 changed files with 104 additions and 77 deletions

View File

@ -3,7 +3,7 @@ use std::pin::Pin;
use std::task::{Context, Poll};
use bytes::Bytes;
use futures::Stream;
use futures_core::Stream;
use h2::RecvStream;
mod dispatcher;

View File

@ -11,8 +11,8 @@ use actix_service::{
ServiceFactory,
};
use bytes::Bytes;
use futures::future::ok;
use futures::ready;
use futures_core::ready;
use futures_util::future::ok;
use h2::server::{self, Handshake};
use log::error;
@ -141,9 +141,9 @@ mod openssl {
#[cfg(feature = "rustls")]
mod rustls {
use super::*;
use actix_tls::rustls::{Acceptor, ServerConfig, Session, TlsStream};
use actix_tls::rustls::{Acceptor, ServerConfig, TlsStream};
use actix_tls::SslError;
use std::{fmt, io};
use std::io;
impl<S, B> H2Service<TlsStream<TcpStream>, S, B>
where