Skip to content

Commit f687566

Browse files
committed
Use default-features=false on libz-sys to allow for zlib-ng
libz-sys enables the stock-zlib feature by default, which forces using stock zlib and prevents using zlib-ng in compat mode. Disable default-features, to allow the user of grpcio to determine what zlib implementation to use. Signed-off-by: Josh Triplett <[email protected]>
1 parent 84147b8 commit f687566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exclude = [
5050
[dependencies]
5151
libc = "0.2"
5252
openssl-sys = { version = "0.9", optional = true, features = ["vendored"] }
53-
libz-sys = { version = "1.0.25", features = ["static"] }
53+
libz-sys = { version = "1.1.3", default-features = false, features = ["libc", "static"] }
5454

5555
[features]
5656
default = ["use-bindgen"]

0 commit comments

Comments
 (0)