mirror of https://github.com/fafhrd91/actix-web
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:
parent
3892a95c11
commit
8ff49e4fe0
|
@ -77,7 +77,7 @@ actix-threadpool = "0.3.1"
|
|||
actix-tls = "2.0.0-alpha.2"
|
||||
|
||||
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 }
|
||||
|
||||
bytes = "0.5.3"
|
||||
|
|
|
@ -18,7 +18,7 @@ path = "src/lib.rs"
|
|||
|
||||
[dependencies]
|
||||
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"
|
||||
bitflags = "1"
|
||||
bytes = "0.5.3"
|
||||
|
|
|
@ -18,7 +18,7 @@ path = "src/lib.rs"
|
|||
[dependencies]
|
||||
actix = "0.10.0-alpha.2"
|
||||
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"
|
||||
bytes = "0.5.2"
|
||||
futures-channel = { version = "0.3.5", default-features = false }
|
||||
|
|
|
@ -39,7 +39,7 @@ compress = ["actix-http/compress"]
|
|||
[dependencies]
|
||||
actix-codec = "0.2.0"
|
||||
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"
|
||||
|
||||
base64 = "0.12"
|
||||
|
|
Loading…
Reference in New Issue