Repository navigation
Add an aws-lc-rs feature as an alias for aws_lc_rs - #1843
Merged
Merged
Conversation
The vast majority of Cargo features in the crates ecosystem use dashes to separate words, rather than underscores. The fact that `aws_lc_rs` uses underscores, and some crates depending on rustls naturally use the same name for the feature that rustls does, has led some crates to end up with inconsistent feature naming that throws people off (e.g. using the wrong feature name and being surprised at the resulting compilation failures), and has led other crates to use `aws-lc-rs` for consistency with their other features which causes inconsistency with rustls. Add an alias, so that it works either way, and people can reference either one.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1843 +/- ##
=======================================
Coverage 95.82% 95.82%
=======================================
Files 84 84
Lines 18865 18865
=======================================
Hits 18077 18077
Misses 788 788 ☔ View full report in Codecov by Sentry. |
cpu
approved these changes
Mar 11, 2024
cpu
left a comment
Member
There was a problem hiding this comment.
Seems like a reasonable solution to reduce downstream friction. Thanks 👍
Benchmark resultsInstruction countsSignificant differencesThere are no significant instruction count differences Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
ctz
approved these changes
Mar 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The vast majority of Cargo features in the crates ecosystem use dashes
to separate words, rather than underscores. The fact that
aws_lc_rsuses underscores, and some crates depending on rustls naturally use the
same name for the feature that rustls does, has led some crates to end
up with inconsistent feature naming that throws people off (e.g. using
the wrong feature name and being surprised at the resulting compilation
failures), and has led other crates to use
aws-lc-rsfor consistencywith their other features which causes inconsistency with rustls.
Add an alias, so that it works either way, and people can reference
either one.