From 9ef53f125a0372c85dc839043830d30fe1a92581 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 17 Aug 2023 05:37:01 +0800 Subject: [PATCH] Fix compile issue Relative to https://github.com/rust-lang/flate2-rs/issues/359 Users need to actively choose a backend. Signed-off-by: vincent --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9abeb4a..a0999e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ categories = ["asynchronous", "database"] [dependencies] bytes = "1.0" crossbeam = "0.8.1" -flate2 = { version = "1.0", default-features = false } +flate2 = { version = "1.0", features = ["zlib"], default-features = false } futures-core = "0.3" futures-util = "0.3" futures-sink = "0.3"