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

Refactor TLS feature flags #135

Merged
merged 2 commits into from
Nov 5, 2022
Merged

Conversation

charlespierce
Copy link
Contributor

@charlespierce charlespierce commented Nov 3, 2022

Info

Changes

  • Updated the names of the core TLS features to be more consistent
  • Added aliases to those with the existing feature names
  • Added an internal feature __rustls to indicate Rustls support is enabled (with either kind of root certificates)
  • Updated references in the code to the TLS features to use the new names

Notes

@@ -21,5 +21,6 @@ cargo test --no-default-features --features compress-zlib-ng
cargo test --no-default-features --features form
cargo test --no-default-features --features multipart-form
cargo test --no-default-features --features json
cargo test --no-default-features --features tls
cargo test --no-default-features --features tls-rustls
cargo test --no-default-features --features tls-native
Copy link
Owner

Choose a reason for hiding this comment

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

Can you also test tls-native-vendored? Just so we know it builds properly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, updated!

@charlespierce charlespierce marked this pull request as ready for review November 4, 2022 06:42
@sbstp sbstp merged commit 21016ff into sbstp:master Nov 5, 2022
@charlespierce charlespierce deleted the tls_feature_flags branch November 6, 2022 14:55
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