docs(readme): add a license badge to README.md

1. Add a shields.io license badge to allow quick, effective identification
   of the license without requiring the user to scroll to the bottom of the
   page.
2. Remove the single-word license section at the bottom of the page as it
   is now superfluous and looks unpolished.
3. Move the crates.io badge beyond the license badge so that its orange
   colour won't knock the viewer's brain off fast-path evaluation when
   using the badge row as a status dashboard (as explained in #525).

Fixes #525
This commit is contained in:
Stephan Sokolow
2015-06-03 00:03:53 -04:00
parent 486a219bc8
commit 19d2530c3c

View File

@@ -1,8 +1,9 @@
# hyper
[![Build Status](https://travis-ci.org/hyperium/hyper.svg?branch=master)](https://travis-ci.org/hyperium/hyper)
[![crates.io](http://meritbadge.herokuapp.com/hyper)](https://crates.io/crates/hyper)
[![Coverage Status](https://coveralls.io/repos/hyperium/hyper/badge.svg?branch=master)](https://coveralls.io/r/hyperium/hyper?branch=master)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![crates.io](http://meritbadge.herokuapp.com/hyper)](https://crates.io/crates/hyper)
A Modern HTTP library for Rust.
@@ -72,8 +73,3 @@ fn main() {
println!("Response: {}", body);
}
```
## License
[MIT](./LICENSE)