Enable the zstd decoder (#36530)

Uses the `zstd` support from `async-compression` to support zstd
Content-Encoding.

Testing: Covered by wpt tests.

Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
webbeef 2025-09-10 07:58:45 -07:00 committed by GitHub
parent 84465e7768
commit bc496b08e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 54 additions and 27 deletions

View file

@ -15,7 +15,7 @@ test = false
doctest = false
[dependencies]
async-compression = { version = "0.4.12", default-features = false, features = ["tokio", "brotli", "gzip", "zlib"] }
async-compression = { version = "0.4.12", default-features = false, features = ["tokio", "brotli", "gzip", "zlib", "zstd"] }
async-recursion = "1.1"
async-tungstenite = { workspace = true }
base = { workspace = true }