From 9b5ed0ae649172846ee2e8f71e8257e9b08e2561 Mon Sep 17 00:00:00 2001 From: Keir Lawson Date: Thu, 14 Nov 2019 13:23:13 +0000 Subject: [PATCH 1/2] Add badges --- Cargo.toml | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 62cc510c..f8a69df1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,6 @@ readme = "README.md" console = ">=0.9.1, <1.0.0" lazy_static = "1" tempfile = "3" + +[badges] +travis-ci = { repository = "mitsuhiko/dialoguer", branch = "master" } \ No newline at end of file diff --git a/README.md b/README.md index a6264aaa..9a81e11e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # dialoguer +[![Build Status](https://travis-ci.org/mitsuhiko/dialoguer.svg?branch=master)](https://travis-ci.org/mitsuhiko/dialoguer) +[![Latest version](https://img.shields.io/crates/v/dialoguer.svg)](https://crates.io/crates/dialoguer) +[![Documentation](https://docs.rs/dialoguer/badge.svg)](https://docs.rs/dialoguer) + A rust library for command line prompts and similar things. From 03029f8df0f1778f51bc3e80aa5d928266bce349 Mon Sep 17 00:00:00 2001 From: Keir Lawson Date: Tue, 28 Apr 2020 20:46:20 +0100 Subject: [PATCH 2/2] Remove badge from Cargo.toml --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f8a69df1..6290614f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,4 @@ readme = "README.md" [dependencies] console = ">=0.9.1, <1.0.0" lazy_static = "1" -tempfile = "3" - -[badges] -travis-ci = { repository = "mitsuhiko/dialoguer", branch = "master" } \ No newline at end of file +tempfile = "3" \ No newline at end of file