Simplify tls-rustls example (#254)

## Motivation

Current `tls-rustls` example might be inconvenient for some people.

## Solution

Rename current example to `low-level-rustls` and add a high level example in its place.
This commit is contained in:
programatik29
2021-08-24 09:56:31 +02:00
committed by GitHub
parent 52ccb1bf42
commit 1a5f977896
6 changed files with 139 additions and 48 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "example-low-level-rustls"
version = "0.1.0"
edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
tokio-rustls = "0.22.0"
hyper = { version = "0.14", features = ["full"] }