cargo-edit icon indicating copy to clipboard operation
cargo-edit copied to clipboard

Should `cargo upgrade` operate on crate or dependency names?

Open epage opened this issue 3 years ago • 0 comments

cargo add and cargo rm both use dependency names. cargo upgrade used to also use dependencies names but in the current pass I switched to crate names to be more like cargo update but I think that is likely unneeded consistency.

Using dependency names would allow for better filtering of what you want upgraded (though --pinned helps)

epage avatar Sep 19 '22 16:09 epage