http_private: get tls working

This commit is contained in:
Joakim Frostegård 2022-04-03 19:07:55 +02:00
parent e790727bc0
commit c21ed97cb2
5 changed files with 211 additions and 9 deletions

19
Cargo.lock generated
View file

@ -83,6 +83,8 @@ dependencies = [
"log",
"privdrop",
"rand",
"rustls 0.20.4",
"rustls-pemfile",
"serde",
]
@ -150,14 +152,18 @@ dependencies = [
"aquatic_toml_config",
"axum",
"dotenv",
"futures-util",
"hex",
"hyper",
"log",
"mimalloc",
"rand",
"rustls 0.20.4",
"serde",
"socket2 0.4.4",
"sqlx",
"tokio",
"tokio-rustls 0.23.3",
]
[[package]]
@ -2619,7 +2625,7 @@ checksum = "b555e70fbbf84e269ec3858b7a6515bcfe7a166a7cc9c636dd6efd20431678b6"
dependencies = [
"once_cell",
"tokio",
"tokio-rustls",
"tokio-rustls 0.22.0",
]
[[package]]
@ -2797,6 +2803,17 @@ dependencies = [
"webpki 0.21.4",
]
[[package]]
name = "tokio-rustls"
version = "0.23.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4151fda0cf2798550ad0b34bcfc9b9dcc2a9d2471c895c68f3a8818e54f2389e"
dependencies = [
"rustls 0.20.4",
"tokio",
"webpki 0.22.0",
]
[[package]]
name = "tokio-stream"
version = "0.1.8"