Skip to content

Commit c0909fc

Browse files
docs(readme): nicer header
1 parent b1cc137 commit c0909fc

File tree

1 file changed

+50
-7
lines changed

1 file changed

+50
-7
lines changed

README.md

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,52 @@
1-
# async-tls
2-
[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/async-std/async-tls/blob/master/LICENSE-MIT)
3-
[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/async-std/async-tls/blob/master/LICENSE-APACHE)
4-
[![docs.rs](https://docs.rs/async-tls/badge.svg)](https://docs.rs/async-tls/)
5-
6-
Asynchronous TLS/SSL streams using [Rustls](https://github.com/ctz/rustls).
1+
<h1 align="center">async-tls</h1>
2+
<div align="center">
3+
<strong>
4+
Async TLS/SSL streams using <a href="https://github.com/ctz/rustls">Rustls</a>.
5+
</strong>
6+
</div>
7+
8+
<br />
9+
10+
<div align="center">
11+
<!-- Crates version -->
12+
<a href="https://crates.io/crates/async-tls">
13+
<img src="https://img.shields.io/crates/v/async-tls.svg?style=flat-square"
14+
alt="Crates.io version" />
15+
</a>
16+
<!-- Downloads -->
17+
<a href="https://crates.io/crates/async-tls">
18+
<img src="https://img.shields.io/crates/d/async-tls.svg?style=flat-square"
19+
alt="Download" />
20+
</a>
21+
<!-- docs.rs docs -->
22+
<a href="https://docs.rs/async-tls">
23+
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
24+
alt="docs.rs docs" />
25+
</a>
26+
27+
<a href="https://discord.gg/JvZeVNe">
28+
<img src="https://img.shields.io/discord/598880689856970762.svg?logo=discord&style=flat-square"
29+
alt="chat" />
30+
</a>
31+
</div>
32+
33+
<div align="center">
34+
<h3>
35+
<a href="https://docs.rs/async-tls">
36+
API Docs
37+
</a>
38+
<span> | </span>
39+
<a href="https://github.com/async-rs/async-tls/releases">
40+
Releases
41+
</a>
42+
<span> | </span>
43+
<a href="https://async.rs/contribute">
44+
Contributing
45+
</a>
46+
</h3>
47+
</div>
48+
49+
<br/>
750

851
### Simple Client
952

@@ -36,7 +79,7 @@ See [examples/server](examples/server/src/main.rs). You can run it with:
3679

3780
```sh
3881
cd examples/server
39-
cargo run -- 127.0.0.1:8080 --cert ../../tests/end.cert --key ../../tests/end.rsa
82+
cargo run -- 127.0.0.1:8080 --cert ../../tests/end.cert --key ../../tests/end.rsa
4083
```
4184

4285
and point the client at it with:

0 commit comments

Comments
 (0)