You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #3301 - integer32llc:categories, r=alexcrichton
Upload categories specified in the manifest
This adds support for uploading categories to crates.io, if they are specified in the manifest.
This goes with rust-lang/crates.io#473. It should be fine to merge this PR either before or after that one; crates.io master doesn't care if the categories are in the metadata or not. With that PR, I was able to use this patch with cargo to add categories to a crate!
Copy file name to clipboardexpand all lines: src/doc/manifest.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -118,10 +118,16 @@ repository = "..."
118
118
# contents of this file are stored and indexed in the registry.
119
119
readme = "..."
120
120
121
-
# This is a small list of keywords used to categorize and search for this
122
-
# package.
121
+
# This is a list of up to five keywords that describe this crate. Keywords
122
+
# are searchable on crates.io, and you may choose any words that would
123
+
# help someone find this crate.
123
124
keywords = ["...", "..."]
124
125
126
+
# This is a list of up to five categories where this crate would fit.
127
+
# Categories are a fixed list available at crates.io/categories, and
128
+
# they must match exactly.
129
+
categories = ["...", "..."]
130
+
125
131
# This is a string description of the license for this package. Currently
126
132
# crates.io will validate the license provided against a whitelist of known
127
133
# license identifiers from http://spdx.org/licenses/. Multiple licenses can be
0 commit comments