Closed
Description
Currently cargo new
generates Cargo.toml
with absolutely minimal set of fields.
It's left up to users to discover and learn about other Cargo.toml
fields. I think it could be improved, for example:
-
Insert comments with hints or links, e.g.
# See more https://doc.rust-lang.org/cargo/reference/manifest.html
-
Insert some fields with default or empty values, e.g.
categories = [] # https://crates.io/category_slugs
. That would show users that this field exists, and prompt them to complete it. The category field in particular is often missing, and that reduces usefulness of browsing https://crates.io/categories