mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #12705 - Turbo87:patch-1, r=epage
doc/reference/manifest: Adjust `keywords` description
This adjusts the naming rules for keywords to match the implemented reality:
aab95692ba/src/models/keyword.rs (L56-L64)
see also:
- https://github.com/rust-lang/rfcs/pull/3488#discussion_r1327466221
- https://github.com/rust-lang/rfcs/pull/3488#discussion_r1327724345
This commit is contained in:
commit
976771d897
@ -306,9 +306,9 @@ words that would help someone find this crate.
|
|||||||
keywords = ["gamedev", "graphics"]
|
keywords = ["gamedev", "graphics"]
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note**: [crates.io] has a maximum of 5 keywords. Each keyword must be
|
> **Note**: [crates.io] allows a maximum of 5 keywords. Each keyword must be
|
||||||
> ASCII text, start with a letter, and only contain letters, numbers, `_` or
|
> ASCII text, have at most 20 characters, start with an alphanumeric character,
|
||||||
> `-`, and have at most 20 characters.
|
> and only contain letters, numbers, `_`, `-` or `+`.
|
||||||
|
|
||||||
### The `categories` field
|
### The `categories` field
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user