From 715a770d7afa0aff1fda963649bc6a621dcc3b7d Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 25 Sep 2019 09:31:52 +0600 Subject: [PATCH] deprecate test server --- actix-test-server/Cargo.toml | 27 --------------------------- actix-test-server/README.md | 3 +++ actix-testing/README.md | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-) create mode 100644 actix-test-server/README.md diff --git a/actix-test-server/Cargo.toml b/actix-test-server/Cargo.toml index dd461c9d..ece93434 100644 --- a/actix-test-server/Cargo.toml +++ b/actix-test-server/Cargo.toml @@ -13,25 +13,10 @@ exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] edition = "2018" workspace = ".." -[package.metadata.docs.rs] -features = ["ssl", "tls", "rust-tls"] - [lib] name = "actix_test_server" path = "src/lib.rs" -[features] -default = [] - -# tls -tls = ["native-tls", "actix-server/tls"] - -# openssl -ssl = ["openssl", "actix-server/ssl"] - -# rustls -rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"] - [dependencies] actix-rt = "0.2.1" actix-server = "0.5.0" @@ -43,17 +28,5 @@ futures = "0.1" tokio-tcp = "0.1" tokio-reactor = "0.1" -# native-tls -native-tls = { version="0.2", optional = true } - -# openssl -openssl = { version="0.10", optional = true } - -#rustls -rustls = { version = "^0.15", optional = true } -tokio-rustls = { version = "^0.9", optional = true } -webpki = { version = "0.19", optional = true } -webpki-roots = { version = "0.16", optional = true } - [dev-dependencies] actix-service = "0.4.0" diff --git a/actix-test-server/README.md b/actix-test-server/README.md new file mode 100644 index 00000000..61f2773d --- /dev/null +++ b/actix-test-server/README.md @@ -0,0 +1,3 @@ +# Actix test server (Deprecated) + +Use [actix-testing](https://docs.rs/actix-testing/) instead diff --git a/actix-testing/README.md b/actix-testing/README.md index cb217c61..bd4eec2f 100644 --- a/actix-testing/README.md +++ b/actix-testing/README.md @@ -1,4 +1,4 @@ -# Actix test utilities [[![crates.io](https://meritbadge.herokuapp.com/actix-testing)](https://crates.io/crates/actix-testint) [![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +# Actix test utilities [![crates.io](https://meritbadge.herokuapp.com/actix-testing)](https://crates.io/crates/actix-testint) [![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ## Documentation & community resources