Skip to content

Disable default features from imageproc dependency#89

Open
JasperDeSutter wants to merge 2 commits into
rxing-core:mainfrom
JasperDeSutter:imageproc-default-features
Open

Disable default features from imageproc dependency#89
JasperDeSutter wants to merge 2 commits into
rxing-core:mainfrom
JasperDeSutter:imageproc-default-features

Conversation

@JasperDeSutter
Copy link
Copy Markdown
Contributor

...since it's pulling in all image formats (through image/default), nullifying the image_formats feature.
This makes rayon optional too, leaving more control to library users.

@hschimke
Copy link
Copy Markdown
Collaborator

hschimke commented Jun 5, 2026

How big a performance improvement is this in general terms? I have no objection to including it, there are probably a few places in the code where rayon might be useful as well. I'm going to have to evaluate though.

@JasperDeSutter
Copy link
Copy Markdown
Contributor Author

I'm not sure it's worth it, I just noticed that turning off default features of imageproc also disabled rayon (it's on by default) so I didn't want to change that behavior in this PR.
Technically a feature isn't really needed for this because library users can depend on imageproc with the rayon feature enabled and that would enable it for usage inside rxing as well.

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