killercup / killercup/cargo-edit

No equivalent of `--precise` for recursive dependencies

Open
#797 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

If we treat `cargo upgrade` as a replacement for `cargo update`, #790 provided us limited support for `cargo update --precise` but doesn't help when you want to set it for a recursive / transitive / indirect dependency.

One idea is to integrate this into `cargo generate-lockfile` and have that be a general lock file editing tool.

Contributor guide

Open the contributing guide

Research direction

Review issue #790 and the existing handling of `cargo upgrade` versus `cargo update --precise`. Then examine the `cargo generate-lockfile` entry point and determine how recursive dependency versions could be specified. Done means defining and implementing a clear general lockfile-editing approach for indirect dependencies.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.