killercup / killercup/cargo-edit
cargo upgrade always add the minor version of prerelease crates
Open
cargo-upgrade
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
For example,
I have a dependencies with version `2.0.0-beta`.
When I use cargo upgrade, it always changes the version to `2.0.0-beta.9`
Contributor guide
Research direction
Start by reproducing the issue with a dependency at version `2.0.0-beta` and `cargo upgrade`. Then trace the cargo-edit command path that handles prerelease dependency versions. Done means upgrading no longer changes that version to `2.0.0-beta.9` unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100