mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 11:31:09 +00:00
Allow to use rust backend for flate2 crate #199
This commit is contained in:
parent
bcd03a9c62
commit
2477afcf30
2 changed files with 10 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## 0.5.5 (2018-04-xx)
|
## 0.5.5 (2018-04-24)
|
||||||
|
|
||||||
* Fix panic when Websocket is closed with no error code #191
|
* Fix panic when Websocket is closed with no error code #191
|
||||||
|
|
||||||
|
* Allow to use rust backend for flate2 crate #199
|
||||||
|
|
||||||
## 0.5.4 (2018-04-19)
|
## 0.5.4 (2018-04-19)
|
||||||
|
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -26,7 +26,7 @@ name = "actix_web"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["session", "brotli"]
|
default = ["session", "brotli", "flate2-c"]
|
||||||
|
|
||||||
# tls
|
# tls
|
||||||
tls = ["native-tls", "tokio-tls"]
|
tls = ["native-tls", "tokio-tls"]
|
||||||
|
@ -40,13 +40,18 @@ session = ["cookie/secure"]
|
||||||
# brotli encoding
|
# brotli encoding
|
||||||
brotli = ["brotli2"]
|
brotli = ["brotli2"]
|
||||||
|
|
||||||
|
# miniz-sys backend for flate2 crate
|
||||||
|
flate2-c = ["flate2/miniz-sys"]
|
||||||
|
|
||||||
|
# rust-backend for flate2 crate
|
||||||
|
flate2-rust = ["flate2/rust_backend"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix = "^0.5.5"
|
actix = "^0.5.5"
|
||||||
|
|
||||||
base64 = "0.9"
|
base64 = "0.9"
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
failure = "0.1.1"
|
failure = "0.1.1"
|
||||||
flate2 = "1.0"
|
|
||||||
h2 = "0.1"
|
h2 = "0.1"
|
||||||
http = "^0.1.5"
|
http = "^0.1.5"
|
||||||
httparse = "1.2"
|
httparse = "1.2"
|
||||||
|
@ -71,6 +76,7 @@ lazy_static = "1.0"
|
||||||
url = { version="1.7", features=["query_encoding"] }
|
url = { version="1.7", features=["query_encoding"] }
|
||||||
cookie = { version="0.10", features=["percent-encode"] }
|
cookie = { version="0.10", features=["percent-encode"] }
|
||||||
brotli2 = { version="^0.3.2", optional = true }
|
brotli2 = { version="^0.3.2", optional = true }
|
||||||
|
flate2 = { version="1.0", default-features = false }
|
||||||
|
|
||||||
# io
|
# io
|
||||||
mio = "^0.6.13"
|
mio = "^0.6.13"
|
||||||
|
|
Loading…
Reference in a new issue