cargo-readme icon indicating copy to clipboard operation
cargo-readme copied to clipboard

Feature request: Option to add crates.io badge

Open thanadolps opened this issue 4 years ago • 3 comments

The automatic badge from cargo.toml has been very helpful to me so far, not having to do tedious search, copy, and paste is amazing. However there are one badge that many project use but aren't included in Cargo.toml's [badges], a crates.io badge.

Crates.io

Option to add crates.io badge would be very helpful for many project and doesn't seem difficult to add since project's name are in Cargo.toml.

thanadolps avatar Jan 07 '20 20:01 thanadolps

That's interesting, I will look at it as soon as I can

livioribeiro avatar Jan 31 '20 16:01 livioribeiro

Adding this would be similar to this commit, yeah?

fosskers avatar Aug 21 '20 00:08 fosskers

I started to throw together a PR. One issue is that this badge should probably only be used if published is not false in the Cargo manifest. Will ignore for now, but feedback welcome.

BartMassey avatar Mar 14 '21 22:03 BartMassey