1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 09:50:36 +02:00

refactor Connect type and add tests

This commit is contained in:
Nikolay Kim
2019-03-13 22:51:31 -07:00
parent 6ebff22601
commit 38545dedc7
8 changed files with 188 additions and 152 deletions

View File

@ -35,6 +35,7 @@ rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"]
[dependencies]
actix-rt = "0.2.1"
actix-server = "0.4.0"
actix-server-config = "0.1.0"
log = "0.4"
net2 = "0.2"

View File

@ -4,6 +4,7 @@ use std::{net, thread};
use actix_rt::{Runtime, System};
use actix_server::{Server, StreamServiceFactory};
pub use actix_server_config::{Io, ServerConfig};
use futures::Future;
use net2::TcpBuilder;