ByteBaker commented on issue #6282: URL: https://github.com/apache/arrow-rs/issues/6282#issuecomment-2368839224
@JakkuSakura After discussing with `flate2` maintainers, I've confirmed that it's actually a documentation issue, but there's a slight caveat as well. `flate2` supports both `miniz` and `zlib` backends, the former enabled by default. For consistency, the documentation states the compression range as `0-9`, but 10 is supported by default. If the backend is switched to `zlib`, then an attempt to use a compression level 10 will cause a panic. I've opened a [pull request in flate2](https://github.com/rust-lang/flate2-rs/pull/427) to explicitly mention this in the docs, so that there's no confusion around this behavior. I hope this resolves your query? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
