Skip to content

Cargo should warn when creating a new project with a hyphen #380

@arpd

Description

@arpd

Cargo doesn't warn about hyphenated crate names, although it means that you'll need to:
extern crate foo = "foo-bar"
Rather than:
extern crate foo-bar

Following along with the guide this threw me for a minute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions