Skip to content

Commit

Permalink
use zlib-ng backend for gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Aug 4, 2022
1 parent 2fb4ab2 commit bac3065
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ futures = { version = "0.3" }

snap = { version = "^1.0", optional = true }
brotli = { version = "^3.3", optional = true }
flate2 = { version = "^1.0", optional = true }
flate2 = { version = "^1.0", optional = true, default-features = false }
lz4 = { version = "1.23.3", optional = true }
zstd = { version = "^0.11", optional = true, default-features = false }
lz4_flex = { version = "^0.9.2", optional = true }
Expand All @@ -39,7 +39,8 @@ rand = "0.8"
[features]
default = ["snappy", "gzip", "lz4", "zstd", "brotli", "bloom_filter"]
snappy = ["snap"]
gzip = ["flate2"]
gzip = ["flate2/rust_backend"]
gzip_zlib_ng = ["flate2/zlib-ng"]
bloom_filter = ["xxhash-rust"]

[[bench]]
Expand Down

0 comments on commit bac3065

Please sign in to comment.