killercup / killercup/cargo-edit

precise versions may be overwritten with `--recursive=true` (default)

Open
#796 0 comments 0 reactions 0 assignees View on GitHub
bug cargo-upgrade
Dominant language
Rust
Stars
3.5k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

With #790 being fixed with #795, there are "last writer win" issues where one `cargo update --aggressive` might do the precise version selection from a previous `cargo update`.

I assume we can fix this when integrating `cargo upgrade` into cargo by adjusting the internal API for `cargo update` to meet our need (multiple precise being set and some non-precise being set)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how cargo update handles precise and non-precise version selections when --recursive=true, then compare that flow with cargo upgrade integration. Trace the internal cargo update API discussed in the issue and verify that multiple precise selections are preserved without later updates overwriting them.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.