[derive] Exclude large test files when publishing#744
Merged
Conversation
Exclude the following files from the crate file uploaded to crates.io;
they are excessively large, and cause the resulting crate file to be
large as well.
- tests/enum_from_bytes.rs
- tests/ui-nightly/enum_from_bytes_u16_too_few.rs.disabled
This commit saves a significant amount of space from the published crate
file as reported by `cargo package`:
Uncompressed Compressed
Before 3.6MiB 526.8KiB
After 249.9KiB 41.8KiB
This represents a 14x size reduction uncompressed and a 13x size
reduction compressed.
Release 0.7.32.
Closes #742
jswrenn
approved these changes
Dec 21, 2023
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.
Exclude the following files from the crate file uploaded to crates.io; they are excessively large, and cause the resulting crate file to be large as well.
This commit saves a significant amount of space from the published crate file as reported by
cargo package:Before 3.6MiB 526.8KiB
After 249.9KiB 41.8KiB
This represents a 14x size reduction uncompressed and a 13x size reduction compressed.
Release 0.7.32.
Closes #742