From 92410ddd5b241c5eed0bfbb91c10bd7bb7c2c865 Mon Sep 17 00:00:00 2001 From: Dominic Date: Mon, 14 Oct 2019 02:48:52 +0200 Subject: [PATCH] add codecov badge --- README.md | 5 ++++- README.tpl | 4 +++- gotham_restful/Cargo.toml | 1 + gotham_restful_derive/Cargo.toml | 6 +----- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 70082d3..ded9534 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# gotham_restful [![Build Status](https://gitlab.com/msrd0/gotham-restful/badges/master/build.svg)](https://gitlab.com/msrd0/gotham-restful/commits/master) +# gotham_restful + +[![Build Status](https://gitlab.com/msrd0/gotham-restful/badges/master/build.svg)](https://gitlab.com/msrd0/gotham-restful/commits/master) +[![Coverage Status](https://codecov.io/gl/msrd0/gotham-restful/branch/master/graph/badge.svg)](https://codecov.io/gl/msrd0/gotham-restful) This crate is an extension to the popular [gotham web framework][gotham] for Rust. The idea is to have several RESTful resources that can be added to the gotham router. This crate will take care diff --git a/README.tpl b/README.tpl index 3f7c721..ee8a529 100644 --- a/README.tpl +++ b/README.tpl @@ -1,3 +1,5 @@ -# {{crate}} {{badges}} +# {{crate}} + +{{badges}} {{readme}} diff --git a/gotham_restful/Cargo.toml b/gotham_restful/Cargo.toml index 18f39f0..b3f75c7 100644 --- a/gotham_restful/Cargo.toml +++ b/gotham_restful/Cargo.toml @@ -14,6 +14,7 @@ repository = "https://gitlab.com/msrd0/gotham-restful" [badges] gitlab = { repository = "msrd0/gotham-restful", branch = "master" } +codecov = { repository = "msrd0/gotham-restful", branch = "master", service = "gitlab" } [dependencies] chrono = { version = "0.4", optional = true } diff --git a/gotham_restful_derive/Cargo.toml b/gotham_restful_derive/Cargo.toml index 0f78279..492a9cc 100644 --- a/gotham_restful_derive/Cargo.toml +++ b/gotham_restful_derive/Cargo.toml @@ -17,17 +17,13 @@ proc-macro = true [badges] gitlab = { repository = "msrd0/gotham-restful", branch = "master" } +codecov = { repository = "msrd0/gotham-restful", branch = "master", service = "gitlab" } [dependencies] proc-macro2 = "1" quote = "1" syn = { version = "1", features = ["extra-traits", "full"] } -[dev-dependencies] -fake = "2.2" -log = "0.4" -log4rs = { version = "0.8", features = ["console_appender"], default-features = false } - [features] default = ["openapi"] openapi = []