Skip to content

Commit

Permalink
Merge pull request actix#1431 from OSSystems/topic/explicit-features-…
Browse files Browse the repository at this point in the history
…requirements

Add explicit feature requirements for examples and tests
  • Loading branch information
JohnTitor authored Mar 28, 2020
2 parents 2067331 + 7b7daa7 commit fcb1dec
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fcb1dec

Please sign in to comment.