Add TLS example (with rustls) (#57)

This commit is contained in:
programatik29
2021-08-01 08:32:47 +02:00
committed by GitHub
parent f67abd1ee2
commit 3b579c7215
5 changed files with 139 additions and 1 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ futures = "0.3"
hyper = { version = "0.14", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "stream"] }
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.6.1", features = ["macros", "rt", "rt-multi-thread"] }
tokio = { version = "1.6.1", features = ["macros", "rt", "rt-multi-thread", "net"] }
tokio-rustls = "0.22.0"
tokio-postgres = "0.7.2"
tracing = "0.1"
tracing-subscriber = "0.2"