mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00: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
1 changed files with 12 additions and 0 deletions
12
Cargo.toml
12
Cargo.toml
|
@ -58,6 +58,18 @@ openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
|
|||
# rustls
|
||||
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]
|
||||
actix-codec = "0.2.0"
|
||||
actix-service = "1.0.2"
|
||||
|
|
Loading…
Reference in a new issue