Unnecessary index fetching upon patching two dependencies with same package name #13862
Labels
A-dependency-resolution
Area: dependency resolution and the resolver
A-lockfile
Area: Cargo.lock issues
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
If you have two patches on two dependencies with same package name, you will see
Updating crates.io index
every time you run cargo check. The index update is unnecessary and slows down development speed.Steps
Simple reproduction repo:
https://github.com/ldm0/cargo-bug-repo/tree/31fb297e58ffa3be877062940a300883d2cb580a
Updating crates.io index
)Possible Solution(s)
I'll file a fix PR later.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: