mirror of
https://github.com/rust-lang/cargo
synced 2024-09-13 21:11:44 +00:00
Auto merge of #6581 - dwijnand:private-publish-docs, r=ehuss
Mention "private" in publish field docs Fixes #6576
This commit is contained in:
commit
b05cd86768
|
@ -166,7 +166,8 @@ migration.
|
|||
#### The `publish` field (optional)
|
||||
|
||||
The `publish` field can be used to prevent a package from being published to a
|
||||
package registry (like *crates.io*) by mistake.
|
||||
package registry (like *crates.io*) by mistake, for instance to keep a package
|
||||
private in a company.
|
||||
|
||||
```toml
|
||||
[package]
|
||||
|
|
Loading…
Reference in a new issue