Skip to content

Reduce rust crate size by excluding fuzz test corpora #5195

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 1 commit into
base: release/2.5
Choose a base branch
from

Conversation

guhetier
Copy link
Contributor

Description

Crates.io only accept crates of less than 10MB and MsQuic.crate grew above it.

This reduces the weigth by trimming OpenSSL and QuicTLS fuzzing cases.
More would be nice to trim (test, documentation), but it causes build failures.

Related to #5175.

Testing

cargo publish --dry-run --allow-dirty succeeds and create 9.9MB crate.

Documentation

N/A

Cherry-picked from main branch with adaptations for release/2.5:
- Exclude *.md and *.txt files from QuicTLS fuzz directory
- Keep essential source files and build.info
- Maintain version 2.5.1-beta for release branch
- OpenSSL support not included (not available in this branch)

This reduces package size while maintaining full build functionality.
@guhetier guhetier requested a review from a team as a code owner June 28, 2025 02:02
@guhetier guhetier changed the base branch from main to release/2.5 June 28, 2025 02:02
@guhetier guhetier self-assigned this Jun 28, 2025
@guhetier guhetier added Language: Rust Related to the Rust interop layer Area: Packaging labels Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Packaging Language: Rust Related to the Rust interop layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant