Skip to content

feat: Make compression_level() pub - #335

Merged
martin-g merged 1 commit into
apache:mainfrom
EmilyMatt:pub-compression-level
Nov 12, 2025
Merged

martin-g merged 1 commit into
apache:mainfrom
EmilyMatt:pub-compression-level

Conversation

@EmilyMatt

Copy link
Copy Markdown
Contributor

All other compressions settings make the struct field itself pub, I'm guessing this isn't done here to streamline the flow into the miniz_oxide crate which accepts a u8 then converts it to i32.
I suggest just making this function pub at least, so we can get the current compression_level, if not modify it.

@martin-g
martin-g merged commit fbf7246 into apache:main Nov 12, 2025
@martin-g

Copy link
Copy Markdown
Member

Thank you, @EmilyMatt !

@martin-g martin-g added this to the 0.22.0 milestone Nov 12, 2025
@Kriskras99 Kriskras99 mentioned this pull request Jun 28, 2026
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.

2 participants