From e2792722859693aa5d4b29c93256c77d90054ffb Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Sun, 17 Dec 2023 22:50:37 -0600 Subject: [PATCH 1/3] Add badges --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f95a4eb..a7327cf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # impl-trait-utils +[![Latest Version]][crates.io] [![Documentation]][docs.rs] [![GHA Status]][GitHub Actions] ![License] + Utilities for working with impl traits in Rust. ## `make_variant` @@ -28,3 +30,11 @@ Implementers of the trait can choose to implement the variant instead of the ori Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT license](LICENSE-MIT) at your option. + +[GitHub Actions]: https://github.com/rust-lang/impl-trait-utils/actions +[GHA Status]: https://github.com/rust-lang/impl-trait-utils/actions/workflows/rust.yml/badge.svg +[crates.io]: https://crates.io/crates/trait-variant +[Latest Version]: https://img.shields.io/crates/v/trait-variant.svg +[Documentation]: https://img.shields.io/docsrs/trait-variant +[docs.rs]: https://docs.rs/trait-variant +[License]: https://img.shields.io/crates/l/trait-variant.svg From 0ca129d1b266e9c59623b41b1258588c754efae5 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Sun, 17 Dec 2023 22:51:08 -0600 Subject: [PATCH 2/3] Rename Rust workflow to CI for badge --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31000a2..58d869d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,4 +1,4 @@ -name: Rust +name: CI on: push: From 76ca4909a420ae73066fc2ac2fb382f741baff91 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Sun, 17 Dec 2023 23:23:15 -0600 Subject: [PATCH 3/3] Remove repo heading --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a7327cf..9f4c033 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -# impl-trait-utils - [![Latest Version]][crates.io] [![Documentation]][docs.rs] [![GHA Status]][GitHub Actions] ![License] Utilities for working with impl traits in Rust.