diff --git a/actix-framed/Cargo.toml b/actix-framed/Cargo.toml index cae7939f..494dd6f4 100644 --- a/actix-framed/Cargo.toml +++ b/actix-framed/Cargo.toml @@ -33,5 +33,5 @@ log = "0.4" [dev-dependencies] actix-server = "1.0.0" actix-connect = { version = "2.0.0-alpha.2", features = ["openssl"] } -actix-http-test = { version = "1.0.0", features = ["openssl"] } +actix-http-test = { version = "2.0.0-alpha.1", features = ["openssl"] } actix-utils = "1.0.3" diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index deb63197..edd8201d 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -90,7 +90,7 @@ flate2 = { version = "1.0.13", optional = true } [dev-dependencies] actix-server = "1.0.1" actix-connect = { version = "2.0.0-alpha.2", features = ["openssl"] } -actix-http-test = { version = "1.0.0", features = ["openssl"] } +actix-http-test = { version = "2.0.0-alpha.1", features = ["openssl"] } actix-tls = { version = "2.0.0-alpha.1", features = ["openssl"] } criterion = "0.3" env_logger = "0.7" diff --git a/awc/Cargo.toml b/awc/Cargo.toml index 5e720ca8..b36e735c 100644 --- a/awc/Cargo.toml +++ b/awc/Cargo.toml @@ -57,7 +57,7 @@ rust-tls = { version = "0.17.0", package = "rustls", optional = true, features = actix-connect = { version = "2.0.0-alpha.2", features = ["openssl"] } actix-web = { version = "3.0.0-alpha.3", features = ["openssl"] } actix-http = { version = "2.0.0-alpha.4", features = ["openssl"] } -actix-http-test = { version = "1.0.0", features = ["openssl"] } +actix-http-test = { version = "2.0.0-alpha.1", features = ["openssl"] } actix-utils = "1.0.3" actix-server = "1.0.0" actix-tls = { version = "2.0.0-alpha.1", features = ["openssl", "rustls"] } diff --git a/test-server/CHANGES.md b/test-server/CHANGES.md index e97ee5d6..079cad74 100644 --- a/test-server/CHANGES.md +++ b/test-server/CHANGES.md @@ -1,6 +1,6 @@ # Changes -## [Unreleased] - 2020-xx-xx +## [2.0.0-alpha.1] - 2020-05-23 * Update the `time` dependency to 0.2.7 * Update `actix-connect` dependency to 2.0.0-alpha.2 diff --git a/test-server/Cargo.toml b/test-server/Cargo.toml index 2fa0691c..8a8c0c8f 100644 --- a/test-server/Cargo.toml +++ b/test-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-http-test" -version = "1.0.0" +version = "2.0.0-alpha.1" authors = ["Nikolay Kim "] description = "Actix http test server" readme = "README.md" diff --git a/test-server/src/lib.rs b/test-server/src/lib.rs index 265d9a77..f6c1183b 100644 --- a/test-server/src/lib.rs +++ b/test-server/src/lib.rs @@ -104,7 +104,8 @@ pub async fn test_server>(factory: F) -> TestServer /// Get first available unused address pub fn unused_addr() -> net::SocketAddr { let addr: net::SocketAddr = "127.0.0.1:0".parse().unwrap(); - let socket = Socket::new(Domain::ipv4(), Type::stream(), Some(Protocol::tcp())).unwrap(); + let socket = + Socket::new(Domain::ipv4(), Type::stream(), Some(Protocol::tcp())).unwrap(); socket.bind(&addr.into()).unwrap(); socket.set_reuse_address(true).unwrap(); let tcp = socket.into_tcp_listener();