From 57c1fb0d5f0a1310129543aafc179f5cb5b67a50 Mon Sep 17 00:00:00 2001 From: Alex Rudy Date: Fri, 5 Apr 2024 05:37:51 +0000 Subject: [PATCH] Add badges to README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index bba5b03..074ef7c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Roboto: Parse and use robots.txt files +[![crate][crate-image]][crate-link] +[![Docs][docs-image]][docs-link] +[![Build Status][build-image]][build-link] +![MIT licensed][license-image] + Roboto provides a type-safe way to parse and use robots.txt files. It is based on the [Robots Exclusion Protocol](https://en.wikipedia.org/wiki/Robots_exclusion_standard) and is used to approximately try control the behavior of web crawlers and other web robots. ## Installation @@ -26,3 +31,11 @@ let user_agent = "googlebot".parse().unwrap(); assert_eq!(robots.is_allowed(&user_agent, "/public"), true); ``` + +[crate-image]: https://buildstats.info/crate/roboto +[crate-link]: https://crates.io/crates/roboto +[docs-image]: https://docs.rs/roboto/badge.svg +[docs-link]: https://docs.rs/roboto/ +[build-image]: https://github.com/alexrudy/roboto/actions/workflows/ci.yml/badge.svg +[build-link]: https://github.com/alexrudy/roboto/actions/workflows/ci.yml +[license-image]: https://img.shields.io/badge/license-MIT-blue.svg