Skip to content

Success message containing link to crates.io after cargo publish #11768

@blyxyas

Description

@blyxyas

Problem

The output of cargo publish could be a little bit more helpful.

A lot of people want to check that their crate was published successfully after running cargo publish. It would be really handy if after a successful publishing process, Cargo printed the URL for checking your crate.

Proposed Solution

Maybe something like:

$ cargo publish
    [...]
    Updating crates.io index

Your crate was successfully published to crates.io! Check it at https://crates.io/crates/<CRATE>.

$

(Where <CRATE> gets replaced with the published crate)

Notes

This takes advantage of the URL recognition that some terminal emulators have, and it's a nice touch for first-time publishers.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions