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

Only compile pingora-openssl and its deps when openssl is enabled. #131

Closed

Conversation

samurai00
Copy link
Contributor

Enabling boringssl should only compile pingora-boringssl but pingora-openssl still gets compiled. This is not what I expected.

This PR fixes this issue by updating the Cargo.toml files for several crates to set default-features to false. This ensures that the openssl feature of pingora-core and its dependency pingora-openssl are only depended on when the openssl feature is enabled.

@eaufavor eaufavor added the enhancement New feature or request label Mar 19, 2024
@andrewhavck andrewhavck self-requested a review March 29, 2024 17:14
@andrewhavck andrewhavck self-assigned this Mar 29, 2024
@andrewhavck andrewhavck added the Accepted This change is accepted by us and merged to our internal repo label Apr 5, 2024
andrewhavck pushed a commit that referenced this pull request Apr 5, 2024
andrewhavck pushed a commit that referenced this pull request Apr 5, 2024
@andrewhavck
Copy link
Contributor

This has been merged, thanks!

@andrewhavck andrewhavck closed this Apr 5, 2024
@samurai00 samurai00 deleted the optimize-ssl-feature-dep branch April 8, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted This change is accepted by us and merged to our internal repo enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants