diff --git a/Cargo.toml b/Cargo.toml index 054142f..39c9e7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,10 @@ version = "0.1.0" authors = ["Dan Reeves "] repository = "https://github.com/danreeves/cargo-cmd" license = "MIT" +license-file = "LICENSE" +readme = "README.md" +categories = ["development-tools::cargo-plugins"] +keywords = ["cargo", "cmd", "scripts", "commands", "npm"] [dependencies] toml = "0.4.6" @@ -15,3 +19,6 @@ subprocess = "0.1.13" [package.metadata.commands] greet = "echo 'Hello, planet!'" dev = "cargo watch -s 'clear; cargo build && cargo cmd greet'" + +[badges] +travis-ci = { repository = "danreeves/cargo-cmd", branch = "master" } diff --git a/README.md b/README.md index 08ac050..ad97b27 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # cargo-cmd +[![crates.io version][1]][2] +[![build status][3]][4] +[![docs.rs docs][5]][6] +[![license][7]][8] + Like `npm` scripts, but for `cargo`. ## Installation @@ -27,3 +32,15 @@ Hello, planet! ## License [MIT © Dan Reeves](./LICENSE) + + + +[1]: https://img.shields.io/crates/v/cargo-cmd.svg?style=flat-square +[2]: https://crates.io/crates/cargo-cmd +[3]: https://img.shields.io/travis/danreeves/cargo-cmd.svg?style=flat-square +[4]: https://travis-ci.org/danreeves/cargo-cmd +[5]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square +[6]: https://docs.rs/cargo-cmd +[7]: https://img.shields.io/crates/l/cargo-cmd.svg?style=flat-square +[8]: ./LICENSE +