Skip to content

[derive] Exclude large test files when publishing#744

Merged
joshlf merged 1 commit intov0.7.xfrom
exclude-files-from-published-crate-0.7
Dec 21, 2023
Merged

[derive] Exclude large test files when publishing#744
joshlf merged 1 commit intov0.7.xfrom
exclude-files-from-published-crate-0.7

Conversation

@joshlf
Copy link
Member

@joshlf joshlf commented Dec 20, 2023

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

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
@joshlf joshlf requested a review from jswrenn December 20, 2023 22:39
@joshlf joshlf merged commit 94b7e0a into v0.7.x Dec 21, 2023
@joshlf joshlf deleted the exclude-files-from-published-crate-0.7 branch December 21, 2023 14:20
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