add badges to crates.io and docs.rs to README.md (#554)
This commit is contained in:
19
README.md
19
README.md
@@ -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,
|
||||||
|
|||||||
19
src/lib.rs
19
src/lib.rs
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user