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.
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
RFC: Superseding public/private dependencies #3516
RFC: Superseding public/private dependencies #3516
Changes from 21 commits
05cf671
2012050
c0eb5bf
8774ca6
ac7c261
e59b865
a784528
86ea56c
ddce845
cefbcdf
c6cc6ca
1488635
8c26107
da3c198
0ff78bd
20a023b
fba8782
e43432f
7e30a81
eb678fb
a3ee6c7
5a73167
1841595
30fa936
f4b6a2d
6bab8b3
dcd6ae2
d1d2afa
a543c14
84c42ba
072c5e7
0f544d2
a3ecfa6
4896e9a
0ad4b92
e64a3ba
111f539
663d078
f3d0bb8
153b413
ec500c2
6cf4aa5
c71a624
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving @djc's comment here for a more focused conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw what decision we make for naming here will impact #3487
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked about this in the cargo team meeting and the tie breaker for
pub
is that it allows our no-MSRV-bump approach to work.public
is already reserved from the previous RFC's implementation.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by the "no-MSRV-bump"? If
public
is reserved from the previous RFC (and assuming that there is substantial overlap between this RFC's meaning and that one's), how does it make sense to use a different keyword now?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original plan had the lint on-by-default with the
pub
field being treated as an unused field without-Z
, much like[lints]
.However, since we switched to allow-by-default, we can re-evaluate this part. Treating this field as unused without
-Z
does mean it can be adopted more quickly though.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going for the worse name here feels like prioritizing short-term MSRV support over long-term readability, given how many years we've waited to use this is delaying it another year for just those that provide extreme MSRVs such a problem? (And if the hard-error is removed now, that delay would be reduced relative to when it is stabilized).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked about this in the cargo team meeting and decided to force an MSRV bump and switch to
public
.