chore: update flate2 version & use zlib-rs#576
chore: update flate2 version & use zlib-rs#576jorgehermo9 wants to merge 2 commits intocloudflare:mainfrom
Conversation
|
Would there be a possibility of creating a feature for using zlib-rs instead of libz-ng-sys as a backend? It would be great if the required system dependencies can be reduced. |
|
Hi @drcaramelsyrup, Just noticed that I had this PR forgotten. Merged with main and now CI passes! As @JosiahParry, Is there any need to let users configure their |
|
Any chance this could be merged? |
|
sorry i never replied! 🙈 my specific use case is for a binary which doesn't need to expose feature flags to users |
|
I'm not sure if I'm understanding you correctly Do you mean to let the dependent packages of pingora-core to control that feature flag, through pingora-core's own features? So we let them control the flate2 features themselves... Or what do you mean? |
If that's possible, that would work for my use case. |
As described in this blog post https://trifectatech.org/blog/zlib-rs-is-faster-than-c/ zlib-rs is a faster and pure Rust zlib alternative and those performance upgrades are included in
flate2 1.1.What are your thoughts on adopting it?