cargo install crate1 crate2 ..
updates index repeatedly for every crate in list.
#13451
Labels
C-bug
Category: bug
Command-install
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
Problem
Cargo updates the index repeatedly even though we are installing all the binaries at once.
This seems inefficient and overkill, as it's unlikely that the index would change much between downloading one crate and moving to the next.
See steps section for example.
Steps
Install multiple cargo binary crates at once, like so
Example docker run
Possible Solution(s)
Update index only once per command invocation?
Notes
No response
Version
The text was updated successfully, but these errors were encountered: