Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@oll3
Copy link
Owner

@oll3 oll3 commented Jan 4, 2025

Fixes #54.

When using zstd compression the valid compression range should be 1 - 22 but bita incorrectly limited to 21. This PR should fix this.

oll3 added 2 commits January 4, 2025 21:01
The range is invalid when used with zstd as the library typically supports up to level 22 while the range is limited to 21.
Remove the hardcoded range and validate the level when compression type is parsed instead.
@oll3 oll3 merged commit 319331f into main Jan 4, 2025
31 checks passed
@oll3 oll3 deleted the fix/compression-level-range branch January 7, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to specify --compression-level "22" when using --compression "zstd"

2 participants