1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-18 23:21:50 +01:00

fix dependencies

This commit is contained in:
Nikolay Kim 2019-12-02 11:49:42 +06:00
parent a08b1eba87
commit f55f96bc77
3 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ use std::pin::Pin;
use std::task::{Context, Poll};
use std::{fmt, io};
use actix_rt::net::TcpStream;
use actix_codec::{AsyncRead, AsyncWrite};
use actix_service::{Service, ServiceFactory};
use futures::future::{err, ok, Either, FutureExt, LocalBoxFuture, Ready};
use open_ssl::ssl::SslConnector;
use tokio_net::tcp::TcpStream;
use tokio_openssl::{HandshakeError, SslStream};
use trust_dns_resolver::AsyncResolver;

View File

@ -27,3 +27,4 @@ log = "0.4"
net2 = "0.2"
futures = "0.3.1"
tokio-net = { version = "=0.2.0-alpha.6" }

View File

@ -2,13 +2,12 @@
use std::sync::mpsc;
use std::{net, thread};
use actix_rt::System;
use actix_rt::{net::TcpStream, System};
use actix_server::{Server, ServerBuilder, ServiceFactory};
pub use actix_server_config::{Io, ServerConfig};
use net2::TcpBuilder;
use tokio_net::driver::Handle;
use tokio_net::tcp::TcpStream;
#[cfg(not(test))] // Work around for rust-lang/rust#62127
pub use actix_macros::test;