File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1046,16 +1046,25 @@ all the things"].
1046
1046
<a id =" c-metadata " ></a >
1047
1047
### Cargo.toml includes all common metadata (C-METADATA)
1048
1048
1049
+ The ` [package] ` section of ` Cargo.toml ` should include the following
1050
+ values:
1051
+
1049
1052
- ` authors `
1050
1053
- ` description `
1051
1054
- ` license `
1052
- - ` homepage ` (though see [ rust-api-guidelines #26 ] ( https://github.com/brson/rust-api-guidelines/issues/26 ) )
1053
1055
- ` documentation `
1054
1056
- ` repository `
1055
1057
- ` readme `
1056
1058
- ` keywords `
1057
1059
- ` categories `
1058
1060
1061
+ ` Cargo.toml ` also allows for a ` homepage ` value. This should only be
1062
+ filled in if there is a unique website for the crate other than the
1063
+ source repository or API documentation. Do not make ` homepage `
1064
+ redundant with either the ` documentation ` or ` repository ` values. For
1065
+ example, serde sets ` homepage ` to "https://serde.rs ", a dedicated
1066
+ website.
1067
+
1059
1068
[ C-DOCS-RS ] : #c-docs-rs
1060
1069
<a id =" c-docs-rs " ></a >
1061
1070
### Cargo.toml documentation key points to docs.rs (C-DOCS-RS)
You can’t perform that action at this time.
0 commit comments