Depend on actix-http with default-features = false

Some depedendents have been carefully crafted to have their own
`compress` feature which enables the `compress` feature on `actix-http`
on demand, however that is all for naught when some dependents simply
use `actix-http` without opting out of `default-features` because
`compress` is a default feature.

Signed-off-by: Daniel Egger <daniel.egger@axiros.com>
This commit is contained in:
Daniel Egger 2020-08-19 10:29:04 +02:00
parent 3892a95c11
commit 8ff49e4fe0
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ actix-threadpool = "0.3.1"
actix-tls = "2.0.0-alpha.2" actix-tls = "2.0.0-alpha.2"
actix-web-codegen = "0.3.0-beta.1" actix-web-codegen = "0.3.0-beta.1"
actix-http = "2.0.0-beta.3" actix-http = { version = "2.0.0-beta.3", default-features = false }
awc = { version = "2.0.0-beta.3", default-features = false } awc = { version = "2.0.0-beta.3", default-features = false }
bytes = "0.5.3" bytes = "0.5.3"

View File

@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = { version = "3.0.0-beta.3", default-features = false } actix-web = { version = "3.0.0-beta.3", default-features = false }
actix-http = "2.0.0-beta.3" actix-http = { version = "2.0.0-beta.3", default-features = false }
actix-service = "1.0.1" actix-service = "1.0.1"
bitflags = "1" bitflags = "1"
bytes = "0.5.3" bytes = "0.5.3"

View File

@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies] [dependencies]
actix = "0.10.0-alpha.2" actix = "0.10.0-alpha.2"
actix-web = { version = "3.0.0-beta.3", default-features = false } actix-web = { version = "3.0.0-beta.3", default-features = false }
actix-http = "2.0.0-beta.3" actix-http = { version = "2.0.0-beta.3", default-features = false }
actix-codec = "0.2.0" actix-codec = "0.2.0"
bytes = "0.5.2" bytes = "0.5.2"
futures-channel = { version = "0.3.5", default-features = false } futures-channel = { version = "0.3.5", default-features = false }

View File

@ -39,7 +39,7 @@ compress = ["actix-http/compress"]
[dependencies] [dependencies]
actix-codec = "0.2.0" actix-codec = "0.2.0"
actix-service = "1.0.1" actix-service = "1.0.1"
actix-http = "2.0.0-beta.3" actix-http = { version = "2.0.0-beta.3", default-features = false }
actix-rt = "1.0.0" actix-rt = "1.0.0"
base64 = "0.12" base64 = "0.12"