add badges to crates.io and docs.rs to README.md (#554)

This commit is contained in:
Wolf Thomsen
2022-11-12 21:31:58 +01:00
committed by GitHub
parent 855f20e662
commit 28d667ade9
2 changed files with 38 additions and 0 deletions

View File

@@ -2,8 +2,27 @@
# ureq # ureq
<div align="center">
<!-- Version -->
<a href="https://crates.io/crates/ureq">
<img src="https://img.shields.io/crates/v/ureq.svg?style=flat-square"
alt="Crates.io version" />
</a>
<!-- Docs -->
<a href="https://docs.rs/ureq">
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
alt="docs.rs docs" />
</a>
<!-- Downloads -->
<a href="https://crates.io/crates/ureq">
<img src="https://img.shields.io/crates/d/ureq.svg?style=flat-square"
alt="Crates.io downloads" />
</a>
</div>
A simple, safe HTTP client. A simple, safe HTTP client.
Ureq's first priority is being easy for you to use. It's great for Ureq's first priority is being easy for you to use. It's great for
anyone who wants a low-overhead HTTP client that just gets the job done. Works anyone who wants a low-overhead HTTP client that just gets the job done. Works
very well with HTTP APIs. Its features include cookies, JSON, HTTP proxies, very well with HTTP APIs. Its features include cookies, JSON, HTTP proxies,

View File

@@ -7,8 +7,27 @@
// we're not changing public api due to a lint. // we're not changing public api due to a lint.
#![allow(clippy::upper_case_acronyms)] #![allow(clippy::upper_case_acronyms)]
//!<div align="center">
//! <!-- Version -->
//! <a href="https://crates.io/crates/ureq">
//! <img src="https://img.shields.io/crates/v/ureq.svg?style=flat-square"
//! alt="Crates.io version" />
//! </a>
//! <!-- Docs -->
//! <a href="https://docs.rs/ureq">
//! <img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
//! alt="docs.rs docs" />
//! </a>
//! <!-- Downloads -->
//! <a href="https://crates.io/crates/ureq">
//! <img src="https://img.shields.io/crates/d/ureq.svg?style=flat-square"
//! alt="Crates.io downloads" />
//! </a>
//!</div>
//!
//! A simple, safe HTTP client. //! A simple, safe HTTP client.
//! //!
//!
//! Ureq's first priority is being easy for you to use. It's great for //! Ureq's first priority is being easy for you to use. It's great for
//! anyone who wants a low-overhead HTTP client that just gets the job done. Works //! anyone who wants a low-overhead HTTP client that just gets the job done. Works
//! very well with HTTP APIs. Its features include cookies, JSON, HTTP proxies, //! very well with HTTP APIs. Its features include cookies, JSON, HTTP proxies,