From ee3f82fc16c269c259d23d7d9f2a9074be7e1fdd Mon Sep 17 00:00:00 2001 From: RobWalt Date: Wed, 17 Apr 2024 13:46:19 +0200 Subject: [PATCH] extract zst as a feature --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 22beac4..ef96876 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ mmap-async-tokio = ["__async", "dep:fmmap", "fmmap?/tokio-async"] s3-async-native = ["__async-s3", "__async-s3-nativetls"] s3-async-rustls = ["__async-s3", "__async-s3-rustls"] tilejson = ["dep:tilejson", "dep:serde", "dep:serde_json"] +zstd = [ "async-compression/zstd" ] # Forward some of the common features to reqwest dependency reqwest-default = ["reqwest?/default"] @@ -33,7 +34,7 @@ __async-s3-rustls = ["rust-s3?/tokio-rustls-tls"] [dependencies] # TODO: determine how we want to handle compression in async & sync environments -async-compression = { version = "0.4", features = ["gzip", "zstd", "brotli"] } +async-compression = { version = "0.4", features = ["gzip", "brotli"] } async-recursion = "1" bytes = "1" fmmap = { version = "0.3", default-features = false, optional = true }