Skip to content

Commit

Permalink
Auto merge of #12705 - Turbo87:patch-1, r=epage
Browse files Browse the repository at this point in the history
doc/reference/manifest: Adjust `keywords` description

This adjusts the naming rules for keywords to match the implemented reality:

https://github.com/rust-lang/crates.io/blob/aab95692baa0dd2374a2ab5cb2cb2d89d7b2a2eb/src/models/keyword.rs#L56-L64

see also:

- rust-lang/rfcs#3488 (comment)
- rust-lang/rfcs#3488 (comment)
  • Loading branch information
bors committed Sep 19, 2023
2 parents 40b78fe + 6a6b5e0 commit 976771d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ words that would help someone find this crate.
keywords = ["gamedev", "graphics"]
```

> **Note**: [crates.io] has a maximum of 5 keywords. Each keyword must be
> ASCII text, start with a letter, and only contain letters, numbers, `_` or
> `-`, and have at most 20 characters.
> **Note**: [crates.io] allows a maximum of 5 keywords. Each keyword must be
> ASCII text, have at most 20 characters, start with an alphanumeric character,
> and only contain letters, numbers, `_`, `-` or `+`.
### The `categories` field

Expand Down

0 comments on commit 976771d

Please sign in to comment.