-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo install-update report error: no index found for registry
#185
Comments
This error comes from |
Did you mean In fact, following the troubleshooting https://github.com/nabijaczleweli/cargo-update#source-replacement-vs-custom-registries may resolve this, at least it works for me :) Try to add [registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index" to your config.toml. |
I think I found the cause: in [v1]
"cargo-expand 1.0.74 (registry+https://rsproxy.cn/crates.io-index)" = ["cargo-expand.exe"]
"irust 1.71.14 (registry+https://github.com/rust-lang/crates.io-index)" = ["irust.exe"] When I ran It should be: |
cargo install-update
reporterror: no index found for registry
but
cargo install
success.That is my cargo\config
The text was updated successfully, but these errors were encountered: