killercup / killercup/cargo-edit

Add `--allow-downgrade` option to set-version command

Open
#863 18 comments 9 reactions 0 assignees View on GitHub
cargo-set-version
Dominant language
Rust
Stars
3.5k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

I would like to add an option to allow downgrade version when using `set-version` command.

In my use case this feature is necessary since our CI/CD needs to create dev packages (deb/rpm) for already released versions.

I have already created [PR](https://github.com/killercup/cargo-edit/pull/862) for this feature (Sorry about that, I misunderstood contribution guidelines :confused:)

Contributor guide

Open the contributing guide

Research direction

Review PR #862 first, then inspect the `set-version` command entry point. Confirm that the requested `--allow-downgrade` option supports creating development packages for already released versions and check the existing command behavior before determining what remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.