Disable zlib-ng for the default cargo-install build (#354)

but explicitly enable it in our own builds.

This is because using zlib-ng sometimes does not compile easily on Windows,
and using the pure miniz_oxide offers a better install story from source.

For our binary builds, we can provide the optimal performance, and still
do that for most users as they will update with cargo-binstall, getting our
build as a second pass.
This commit is contained in:
Félix Saparelli 2022-09-09 18:06:05 +12:00 committed by GitHub
parent 23daef610b
commit e24b2ce1e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ tokio = { version = "1.20.1", features = ["rt-multi-thread"], default-features =
embed-resource = "1.7.3"
[features]
default = ["static", "zlib-ng", "rustls", "trust-dns", "fancy-no-backtrace"]
default = ["static", "rustls", "trust-dns", "fancy-no-backtrace"]
mimalloc = ["dep:mimalloc"]