Skip to content

Help with reducing package size #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Jun 3, 2025

Checklist:

@LeXXik
Copy link

LeXXik commented Jun 4, 2025

One other possibility for reduction could be reviewing the modules of Rust std being used. In some cases only a fraction of a module functionality is used and it is then beneficial to create a custom one just for the specific use of the library. This will prevent a complete module being pulled into the build, saving some space. In some cases it can help shaving off another 15-20%.

@Vrixyz Vrixyz force-pushed the config_reduce_package_size branch from db6dd41 to 1e8a88a Compare June 5, 2025 08:27
@Vrixyz Vrixyz force-pushed the config_reduce_package_size branch from 1e8a88a to f4cd01e Compare June 5, 2025 08:57
@Vrixyz Vrixyz force-pushed the config_reduce_package_size branch from 271d6a4 to 3be0284 Compare June 5, 2025 09:15
@Vrixyz Vrixyz force-pushed the config_reduce_package_size branch from 4c0887a to 2dd117a Compare June 5, 2025 12:09
@Vrixyz Vrixyz force-pushed the config_reduce_package_size branch from a0de28b to 7ef5372 Compare June 6, 2025 07:28
@Vrixyz Vrixyz requested a review from sebcrozet June 6, 2025 13:19
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