Skip to content

Conversation

@Elabajaba
Copy link
Contributor

The examples only needs the png feature, so disable default features and only add the png feature.

This saves ~4s (16s->12s) and reduces the built dependencies from 180 to 113 on Linux with a 5900x.

@MarijnS95 MarijnS95 changed the title Only use image's PNG feature instead of its default features to speed up compiling the examples. examples: Only use image's png feature to speed up compile Oct 25, 2024
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks!

@Ralith Ralith merged commit a5c4ca2 into ash-rs:master May 6, 2025
10 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.

2 participants