cargo add should warn on binary crates #11803
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-add
E-medium
Experience: Medium
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Problem
It was suggested that I should open this issue. Currently if you try to add a binary crate, it allows you to do that:
when it should probably fail, or at least warn the user that this is not something they should be doing.
Proposed Solution
No response
Notes
No response
The text was updated successfully, but these errors were encountered: