Skip to content

Add a confirmation when publishing a non-existing crate on crates.io #883

Closed
@tomaka

Description

@tomaka

Right now, executing cargo publish automatically publishes the crate on crates.io without any confirmation.

This could lead to "oops, I just wanted to try the command" or "oops, I was in the wrong directory and accidentally published my super-top-secret repo instead of my public project" moments.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions