killercup / cargo-edit

A utility for managing cargo dependencies from the command line.
http://killercup.github.io/cargo-edit/
MIT License
3.09k stars 148 forks source link

No output #883

Closed thewh1teagle closed 11 months ago

thewh1teagle commented 11 months ago

I ran this command in the project folder which I have Cargo.toml with Axum and it hanged like that without output:

$ cargo upgrade -p axum   

And only after something like 4 minutes it showed:

    Updating 'https://github.com/rust-lang/crates.io-index' index

Evenutally I think it worked, but it's very strange at the first time.

epage commented 11 months ago

Closing in favor of #869

This is because this is implemented using the git index protocol and the less often that gets updated, the slower it is.

Focus is shifted from fixing things like that to the effort of implementing cargo upgrade within cargo.