]> git.proxmox.com Git - cargo.git/commit
Auto merge of #8571 - canova:publish-default, r=ehuss
authorbors <bors@rust-lang.org>
Thu, 6 Aug 2020 17:48:55 +0000 (17:48 +0000)
committerbors <bors@rust-lang.org>
Thu, 6 Aug 2020 17:48:55 +0000 (17:48 +0000)
commit449743b1ac084b67e11fafb278169291f15fcfc3
tree8fd515070526f3ee0bb2e1f85c5cbbc3cbf86153
parent0aedda245b44360b72dd28afc94f7265eb592f89
parenta8ce734a95a1450882550a66d2044560e989bbcc
Auto merge of #8571 - canova:publish-default, r=ehuss

Default cargo publish to the alt registry if it's the only allowed one

Hi, this PR fixes #8036. Previously if we had only one allowed registry in Cargo.toml file, `cargo publish` was failing. But with this PR, we are defaulting to the only allowed registry with printing a note if there is only one registry in that array. I believe this will make things easier for people who use an alternative registry all the time.