We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a source replacement is specified for crates.io in ~/.cargo/config.toml, updating using cargo install-update -a will fail:
~/.cargo/config.toml
cargo install-update -a
Updating PKG error: registry index was not found in any configuration: `SOURCE`
[source.my-replacement-source] registry = "https://github.com/jhnc-oss/crates.io-index.git" [source.crates-io] replace-with = "my-replacement-source"
You can use any valid registry; I just picked the most recent GitHub fork of https://github.com/rust-lang/crates.io-index.
cargo install [email protected]
cargo install-update -l
fd-find
The text was updated successfully, but these errors were encountered:
Dupe of #185, documented in https://github.com/nabijaczleweli/cargo-update#source-replacement-vs-custom-registries – you need an index key with the same value as registry, this was broken by cargo 2019-09-10.
index
registry
Sorry, something went wrong.
closing? nope, didn't work. github just doesn't work at all anymore
Ah okay sorry my bad. Didn't read properly.
rsproxy-sparse
No branches or pull requests
When a source replacement is specified for crates.io in
~/.cargo/config.toml
, updating usingcargo install-update -a
will fail:Steps to reproduce
~/.cargo/config.toml
:You can use any valid registry; I just picked the most recent GitHub fork of https://github.com/rust-lang/crates.io-index.
cargo install [email protected]
to verify the registry setting. Again, you can use any valid binary crate.cargo install-update -l
to verify thatfd-find
has an update.cargo install-update -a
and observe the failure.~/.cargo/config.toml
after testing.The text was updated successfully, but these errors were encountered: