killercup / killercup/cargo-edit
Should `cargo upgrade` operate on crate or dependency names?
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
`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)
Contributor guide
Research direction
Start by comparing the naming behavior of `cargo add`, `cargo rm`, `cargo upgrade`, and `cargo update`, including how `--pinned` affects filtering. Determine whether `cargo upgrade` should accept dependency names or crate names, then document the chosen behavior and its completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100