Closed cyqsimon closed 10 months ago
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.
closing? nope, didn't work. github just doesn't work at all anymore
Ah okay sorry my bad. Didn't read properly.
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 fd-find@8.6.0
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.