Use axum-server for direct TLS support
This commit is contained in:
parent
5fa9190117
commit
c8951a1d9c
4 changed files with 57 additions and 10 deletions
|
@ -15,7 +15,7 @@ edition = "2021"
|
|||
[dependencies]
|
||||
# Web framework
|
||||
axum = { version = "0.4.4", features = ["headers"], optional = true }
|
||||
hyper = "0.14.16"
|
||||
axum-server = { version = "0.3.3", features = ["tls-rustls"] }
|
||||
tower = { version = "0.4.11", features = ["util"] }
|
||||
tower-http = { version = "0.2.1", features = ["add-extension", "cors", "compression-full", "sensitive-headers", "trace", "util"] }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue