Skip to content

Commit

Permalink
Add badges to README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudy committed Apr 5, 2024
1 parent 1c3fc67 commit 57c1fb0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 57c1fb0

Please sign in to comment.