The ability to specify an alternate registry via URL with registry-index in a dependency was added in #4957. I had some questions about this:
- Should this be documented?
- Why was it chosen to use a different key instead of reusing the
registry field as suggested in the RFC? - How is it supposed to work?
cargo publish doesn't seem to handle it properly. There are almost no tests for it.
cc @sfackler
The ability to specify an alternate registry via URL with
registry-indexin a dependency was added in #4957. I had some questions about this:registryfield as suggested in the RFC?cargo publishdoesn't seem to handle it properly. There are almost no tests for it.cc @sfackler