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

View file

@ -11,19 +11,22 @@ name = "aquatic_http_private"
[dependencies]
aquatic_cli_helpers = "0.2.0"
aquatic_common = "0.2.0"
aquatic_common = { version = "0.2.0", features = ["rustls-config"] }
aquatic_http_protocol = "0.2.0"
aquatic_toml_config = "0.2.0"
anyhow = "1"
axum = { version = "0.5", default-features = false, features = ["headers", "http1", "matched-path", "original-uri"] }
dotenv = "0.15"
futures-util = { version = "0.3", default-features = false }
hex = "0.4"
hyper = "0.14"
log = "0.4"
mimalloc = { version = "0.1", default-features = false }
rand = { version = "0.8", features = ["small_rng"] }
rustls = "0.20"
serde = { version = "1", features = ["derive"] }
socket2 = { version = "0.4", features = ["all"] }
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" , "mysql" ] }
tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.23"