Limit exported-private-dependencies
lints to libraries
#13039
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Z-public-dependency
Nightly: public-dependency
Problem
When developing bins or tests, the use of a dependency in a
pub
item doesn't actually make it a public dependency.Proposed Solution
Restrict which targets use
-extern priv:
Notes
No response
The text was updated successfully, but these errors were encountered: