-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-bugCategory: bugCategory: bugCommand-installE-easyExperience: EasyExperience: Easy
Description
Problem
When I ask Cargo to install cargo-edit from git, it says that I'm being ambiguous and suggests the two
crate as an alternative.
$ cargo install --git=https://github.com/killercup/cargo-edit --features vendored-openssl
Updating git repository `https://github.com/killercup/cargo-edit`
error: multiple packages with binaries found: cargo-edit, two
I downloaded the two
crate and glanced through it... I don't see any reason for Cargo to suggest it.
Steps
cargo install --git=https://github.com/killercup/cargo-edit --features vendored-openssl
- Notice Cargo's suggestions. On my computer:
cargo-edit, two
It's true that explicitly stating cargo-edit
succeeds: cargo install cargo-edit --git=https://github.com/killercup/cargo-edit --features vendored-openssl
But, why did Cargo suggest the two
crate?
Notes
Output of cargo version
: cargo 1.51.0 (43b129a 2021-03-16)
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-bugCategory: bugCategory: bugCommand-installE-easyExperience: EasyExperience: Easy