Support Deflate decoding (#1250)

This commit is contained in:
Mohamed Daahir
2021-04-22 18:35:29 +01:00
committed by GitHub
parent 42b31600c3
commit 77ee0df7c5
8 changed files with 328 additions and 57 deletions

View File

@@ -49,6 +49,8 @@ gzip = ["async-compression", "async-compression/gzip", "tokio-util"]
brotli = ["async-compression", "async-compression/brotli", "tokio-util"]
deflate = ["async-compression", "async-compression/deflate", "tokio-util"]
json = ["serde_json"]
multipart = ["mime_guess"]
@@ -216,6 +218,11 @@ name = "brotli"
path = "tests/brotli.rs"
required-features = ["brotli"]
[[test]]
name = "deflate"
path = "tests/deflate.rs"
required-features = ["deflate"]
[[test]]
name = "multipart"
path = "tests/multipart.rs"