1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 19:10:35 +02:00

use actix deps instead of tokio

This commit is contained in:
Nikolay Kim
2019-11-26 08:26:22 +06:00
parent 5efac449b1
commit 52d03fa18c
23 changed files with 44 additions and 57 deletions

View File

@ -22,7 +22,7 @@ openssl = ["tokio-openssl"]
rustls = ["tokio-rustls"]
[dependencies]
tokio-io = "=0.2.0-alpha.6"
actix-codec = "0.2.0-alpha.1"
tokio-net = { version = "=0.2.0-alpha.6", features = ["tcp", "uds"] }
tokio-openssl = { version = "0.4.0-alpha.6", optional = true }
#tokio-rustls = { version = "0.12.0-alpha.8", optional = true }

View File

@ -5,7 +5,7 @@ use std::net::SocketAddr;
use std::rc::Rc;
use std::{fmt, io, net, ops, time};
use tokio_io::{AsyncRead, AsyncWrite};
use actix_codec::{AsyncRead, AsyncWrite};
use tokio_net::tcp::TcpStream;
#[derive(Debug, Clone)]