#cargo-toml #cargo

app shieldify

A simple CLI tool to generate shields from info in Cargo.toml

4 releases

0.1.3 Sep 22, 2023
0.1.2 Jul 22, 2023
0.1.1 Jul 22, 2023
0.1.0 Jul 22, 2023

#659 in Development tools

MIT/Apache

11KB
153 lines

Shieldify

Crates.io Downloads License Dependency Status

Add sheilds (=badges) to your README.md with ease.

Installation

cargo install shieldify

Usage

Add repository field to your Cargo.toml and run in the crate root:

shieldify

Your README.md will be updated with the badges.

Notes

For crates with src/lib.rs, it will also add a badge for the documentation.

At the moment of writing, the crate expects that the repository is hosted on GitHub.

In theory, the crate might eventually be able to use git2 to get the repository information from the local repository, but it is not implemented yet.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~41K SLoC