|
1 |
| -# async-tls |
2 |
| -[](https://github.com/async-std/async-tls/blob/master/LICENSE-MIT) |
3 |
| -[](https://github.com/async-std/async-tls/blob/master/LICENSE-APACHE) |
4 |
| -[](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/> |
7 | 50 |
|
8 | 51 | ### Simple Client
|
9 | 52 |
|
@@ -36,7 +79,7 @@ See [examples/server](examples/server/src/main.rs). You can run it with:
|
36 | 79 |
|
37 | 80 | ```sh
|
38 | 81 | 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 |
40 | 83 | ```
|
41 | 84 |
|
42 | 85 | and point the client at it with:
|
|
0 commit comments