mirror of
https://github.com/actix/actix-web.git
synced 2024-12-24 00:50:36 +00:00
use actix-net cell features
This commit is contained in:
parent
49eea3bf76
commit
1e1a4f846e
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,7 @@ name = "actix_web"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["session", "brotli", "flate2-c"]
|
default = ["session", "brotli", "flate2-c", "cell"]
|
||||||
|
|
||||||
# tls
|
# tls
|
||||||
tls = ["native-tls", "tokio-tls", "actix-net/tls"]
|
tls = ["native-tls", "tokio-tls", "actix-net/tls"]
|
||||||
|
@ -58,6 +58,8 @@ flate2-c = ["flate2/miniz-sys"]
|
||||||
# rust backend for flate2 crate
|
# rust backend for flate2 crate
|
||||||
flate2-rust = ["flate2/rust_backend"]
|
flate2-rust = ["flate2/rust_backend"]
|
||||||
|
|
||||||
|
cell = ["actix-net/cell"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix = "0.7.0"
|
actix = "0.7.0"
|
||||||
actix-net = { git="https://github.com/actix/actix-net.git" }
|
actix-net = { git="https://github.com/actix/actix-net.git" }
|
||||||
|
|
Loading…
Reference in a new issue