You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think, since this is a library crate, the choice for the default backend should be delegated to the flate2 crate. There is currently a draft pull request open to switch the default backend to zlib-rs.
I'm also conscious that if a downstream user specifies just the flate2 dependency, this would mean they would be pulling in both miniz_oxide as well as zlib-rs. I know this is the case if a user specifies flate2 with no default features and the zlib-rs feature but think it's more likely that a downstream user would be using the default features of flate2.
Maybe, cargo build --release --features flate2/zlib-rs without patching?
I'm still not sure which one is used since the command builds both crates.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
flate2does not usezlib-rsif default setting is used. https://github.com/rust-lang/flate2-rs#backends