mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
Add explicit feature requirements for examples and tests
This allow us to build 'actix-web' without default features and run all tests. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
2067331884
commit
7b7daa75a4
12
Cargo.toml
12
Cargo.toml
@ -58,6 +58,18 @@ openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
|
|||||||
# rustls
|
# rustls
|
||||||
rustls = ["actix-tls/rustls", "awc/rustls", "rust-tls"]
|
rustls = ["actix-tls/rustls", "awc/rustls", "rust-tls"]
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "basic"
|
||||||
|
required-features = ["compress"]
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "uds"
|
||||||
|
required-features = ["compress"]
|
||||||
|
|
||||||
|
[[test]]
|
||||||
|
name = "test_server"
|
||||||
|
required-features = ["compress"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-codec = "0.2.0"
|
actix-codec = "0.2.0"
|
||||||
actix-service = "1.0.2"
|
actix-service = "1.0.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user