mirror of
https://github.com/actix/actix-web.git
synced 2024-12-22 16:16:40 +00:00
Merge pull request #1431 from OSSystems/topic/explicit-features-requirements
Add explicit feature requirements for examples and tests
This commit is contained in:
commit
fcb1dec235
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
|
||||||
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 a new issue