-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-new
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-new
Type
Fields
Give feedbackNo fields configured for issues without a type.