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:
@ -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 }
|
||||
|
@ -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)]
|
||||
|
Reference in New Issue
Block a user