Skip to content
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

Reduce size of uploaded crate #936

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

DaniPopes
Copy link
Contributor

Currently, the compressed size of the cargo-semver-checks crate on crates.io is 1.6MiB, as listed on crates.io and lib.rs. This is mostly attributed to the brand and test directories, which are not essential for the crate to compile. We can avoid uploading these directories by explicitly excluding them in the manifest using package.exclude.

Currently, the compressed size of the `cargo-semver-checks` crate on
crates.io is 1.6MiB, as listed on crates.io and lib.rs. This is mostly
attributed to the brand and test directories, which are not essential
for the crate to compile. We can avoid uploading these directories by
explicitly excluding them in the manifest using `package.exclude`.
Copy link
Owner

@obi1kenobi obi1kenobi left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@obi1kenobi obi1kenobi merged commit 4d66bed into obi1kenobi:main Sep 19, 2024
34 checks passed
@DaniPopes DaniPopes deleted the crate-size branch September 19, 2024 15:03
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