Skip to content

Commit f99a32f

Browse files
JakubKoralewskiPr0metheangemini-code-assist[bot]
authored
chore: expose more flate2 feature flags (#476)
* chore: expose more flate2 feature flags * Add comments on the new flags in Cargo.toml Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Chris Hennick <[email protected]> --------- Signed-off-by: Chris Hennick <[email protected]> Co-authored-by: Chris Hennick <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 9b5dd0b commit f99a32f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ deflate-flate2 = ["_deflate-any", "dep:flate2"]
7777
deflate-flate2-zlib-rs = ["deflate-flate2", "flate2/zlib-rs"]
7878
# Pull in flate2 and the zlib backend; only use this if you need a dynamically linked system zlib
7979
deflate-flate2-zlib = ["deflate-flate2", "flate2/zlib"]
80+
# Pull in flate2 and the zlib-ng backend; a modern fork of zlib
81+
deflate-flate2-zlib-ng = ["deflate-flate2", "flate2/zlib-ng"]
82+
# Pull in flate2 and the zlib-ng backend with a zlib-compatible API
83+
deflate-flate2-zlib-ng-compat = ["deflate-flate2", "flate2/zlib-ng-compat"]
8084
# Pull in zopfli (write-only DEFLATE, slower than flate2 with better compression ratios)
8185
deflate-zopfli = ["dep:zopfli", "_deflate-any"]
8286
jiff-02 = ["dep:jiff"]

0 commit comments

Comments
 (0)