Skip to content

Commit 9f7ea1e

Browse files
authored
Add feature gix/zlib-rs
1 parent edd9e0b commit 9f7ea1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gix/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ fast-sha1 = ["gix-features/fast-sha1"]
264264
## Note that this will cause duplicate symbol errors if the application also depends on `zlib` - use `zlib-ng-compat` in that case.
265265
zlib-ng = ["gix-features/zlib-ng"]
266266

267+
## Use the rust-based zlib backend, which can compress and decompress significantly faster and is on par with zlib-ng or even faster.
268+
zlib-rs = ["gix-features/zlib-rs"]
269+
267270
## Use zlib-ng via its zlib-compat API. Useful if you already need zlib for C
268271
## code elsewhere in your dependencies. Otherwise, use `zlib-ng`.
269272
zlib-ng-compat = ["gix-features/zlib-ng-compat"]

0 commit comments

Comments
 (0)