mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +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…
x
Reference in New Issue
Block a user