cargo update --package X
updates other git repositories
#8821
Labels
A-dependency-resolution
Area: dependency resolution and the resolver
C-bug
Category: bug
Command-update
Problem
cargo update -p
should only update the specify package. Instead, it updates git repositories as well.Steps
git clone https://github.com/rust-lang/crater/
cd crater
git checkout dcc54566d5ec82cabca435c0145cbd06f32d3602
cargo update -p crater
Output of
cargo version
: cargo 1.47.0 (f3c7e06 2020-08-28)The text was updated successfully, but these errors were encountered: