]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #6838 - ehuss:publish-error-msg, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 11 Apr 2019 19:11:07 +0000 (19:11 +0000)
committerbors <bors@rust-lang.org>
Thu, 11 Apr 2019 19:11:07 +0000 (19:11 +0000)
Improve error message for `publish` key restriction.

The existing error message didn't really recognize that `publish` can be a
list.

This also adds support for `publish = ["crates-io"]` to restrict publishing
to crates.io only.


Trivial merge