1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

merge actix-testing into actix-server (#242)

This commit is contained in:
fakeshadow
2020-12-30 05:20:24 +08:00
committed by GitHub
parent 03eb96d6d4
commit b5eefb4d42
13 changed files with 11 additions and 98 deletions

View File

@ -77,7 +77,6 @@ tokio-native-tls = { version = "0.3", optional = true }
[dev-dependencies]
actix-server = "2.0.0-beta.1"
actix-testing = "2.0.0-beta.1"
bytes = "1"
env_logger = "0.8"
futures-util = { version = "0.3.7", default-features = false, features = ["sink"] }

View File

@ -2,8 +2,8 @@ use std::io;
use actix_codec::{BytesCodec, Framed};
use actix_rt::net::TcpStream;
use actix_server::TestServer;
use actix_service::{fn_service, Service, ServiceFactory};
use actix_testing::TestServer;
use bytes::Bytes;
use futures_util::sink::SinkExt;