killercup / killercup/cargo-edit

cargo upgrade always add the minor version of prerelease crates

Open
#889 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.