Use package.exclude to remove CI related files & examples#124
Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom Sep 30, 2025
Merged
Use package.exclude to remove CI related files & examples#124alexcrichton merged 1 commit intobytecodealliance:mainfrom
package.exclude to remove CI related files & examples#124alexcrichton merged 1 commit intobytecodealliance:mainfrom
Conversation
This reduces the package size by: | | before | after | percentage change | |--------------|---------|---------|-------------------| | uncompressed | 62.1KiB | 44.5KiB | -28.3% | | compressed | 17.8KiB | 13.7KiB | -23.0% | Based on the current download numbers of version `0.14.7+wasi-0.2.4` since release, this equates to 7.4GiB/month less for downloading the compressed crate.
Member
|
Thanks! Do you know if the packaged version still works after examples are excluded? The |
Contributor
Author
|
I'm sorry, I should've actually been more clear about that in the PR description, but I ended up forgetting. To answer the question, yes, the packaged version still works, but during packaging there would be a warning for each then missing example (for reference: the documentation for The example would not be available for crater runs or on docs.rs though, when they're not included. |
Member
|
Ok sounds good! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reduces the package size by:
Based on the current download numbers of version
0.14.7+wasi-0.2.4since release, this equates to 7.4GiB/month less for downloading the compressed crate.