Skip to content

Conversation

@mstoeckl
Copy link
Contributor

@mstoeckl mstoeckl commented Nov 25, 2025

Having trait bounds on the structs' implementations suffices.

For context, see #16 (comment).

Note: PCXDecoder still requires Read for pcx::Reader; I haven't figured out how to remove the trait bounds for OpenRasterDecoder, for which ZipFile requires Read.

Having trait bounds on the structs' implementations suffices.
Copy link
Member

@197g 197g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ZipFile is unfortunately from a viral bound in zip::ZipFile which we can't get rid of here (at least not in safe code).

@fintelia fintelia merged commit e6d331d into image-rs:main Nov 25, 2025
7 checks passed
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.

3 participants