Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aeaef85

Browse files
joshtriplettdjc
authored andcommittedApr 19, 2025
Switch flate2 to use the zlib-rs backend
This backend is written in Rust, but has substantially higher performance. And, as of the latest version, zlib-rs does not export any C zlib symbols, so it won't conflict with other implementations of zlib in the same process; thus, it doesn't conflict with linking to C libraries that use zlib.
1 parent 1df2063 commit aeaef85

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
 

‎Cargo.lock

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ curl = { version = "0.4.44", optional = true }
5050
effective-limits = "0.5.5"
5151
enum-map = "2.5.0"
5252
env_proxy = { version = "0.4.1", optional = true }
53-
flate2 = "1"
53+
flate2 = { version = "1.1.1", default-features = false, features = ["zlib-rs"] }
5454
fs_at = "0.2.1"
5555
git-testament = "0.2"
5656
home = "0.5.4"

0 commit comments

Comments
 (0)
Failed to load comments.