Skip to content

Commit 1f78c5c

Browse files
committed
Upgrade zlib-rs to 0.3.0 to get multiple bugfixes:
trifectatechfoundation/zlib-rs#165 trifectatechfoundation/zlib-rs#169 trifectatechfoundation/zlib-rs#172 And possibly others.
1 parent 6fbd6d2 commit 1f78c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude = [".*"]
2121
[dependencies]
2222
libz-sys = { version = "1.1.20", optional = true, default-features = false }
2323
libz-ng-sys = { version = "1.1.16", optional = true }
24-
libz-rs-sys = { version = "0.2.1", optional = true, default-features = false, features = ["std", "rust-allocator"] }
24+
libz-rs-sys = { version = "0.3.0", optional = true, default-features = false, features = ["std", "rust-allocator"] } # this matches the default features, but we don't want to depend on the default features staying the same
2525
cloudflare-zlib-sys = { version = "0.3.0", optional = true }
2626
miniz_oxide = { version = "0.8.0", optional = true, default-features = false, features = ["with-alloc"] }
2727
crc32fast = "1.2.0"

src/ffi/c.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ mod c_backend {
447447
#[cfg(feature = "zlib-ng")]
448448
const ZLIB_VERSION: &'static str = "2.1.0.devel\0";
449449
#[cfg(all(not(feature = "zlib-ng"), feature = "zlib-rs"))]
450-
const ZLIB_VERSION: &'static str = "0.1.0\0";
450+
const ZLIB_VERSION: &'static str = "1.3.0-zlib-rs-0.3.0\0";
451451
#[cfg(not(any(feature = "zlib-ng", feature = "zlib-rs")))]
452452
const ZLIB_VERSION: &'static str = "1.2.8\0";
453453

0 commit comments

Comments
 (0)