mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-18 23:21:50 +01:00
deprecate test server
This commit is contained in:
parent
5469d8c910
commit
715a770d7a
@ -13,25 +13,10 @@ exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
workspace = ".."
|
workspace = ".."
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
features = ["ssl", "tls", "rust-tls"]
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "actix_test_server"
|
name = "actix_test_server"
|
||||||
path = "src/lib.rs"
|
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]
|
[dependencies]
|
||||||
actix-rt = "0.2.1"
|
actix-rt = "0.2.1"
|
||||||
actix-server = "0.5.0"
|
actix-server = "0.5.0"
|
||||||
@ -43,17 +28,5 @@ futures = "0.1"
|
|||||||
tokio-tcp = "0.1"
|
tokio-tcp = "0.1"
|
||||||
tokio-reactor = "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]
|
[dev-dependencies]
|
||||||
actix-service = "0.4.0"
|
actix-service = "0.4.0"
|
||||||
|
3
actix-test-server/README.md
Normal file
3
actix-test-server/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Actix test server (Deprecated)
|
||||||
|
|
||||||
|
Use [actix-testing](https://docs.rs/actix-testing/) instead
|
@ -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
|
## Documentation & community resources
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user