Skip to content

Cargo new --example #6939

Closed as not planned
Closed as not planned
@Alxandr

Description

@Alxandr

Describe the problem you are trying to solve

Make it easier to add examples to a project.

Describe the solution you'd like

I would like a basic scaffold of an example, probably with just an empty main method when I run cargo new --example <name>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions