Update graceful shutdown example (#2355)

Co-authored-by: Jonas Platte <[email protected]>
This commit is contained in:
David Pedersen
2023-11-26 10:34:41 +00:00
committed by GitHub
co-authored by Jonas Platte
parent 1a78e093ed
commit da82e887cd
2 changed files with 163 additions and 49 deletions
+6 -1
View File
@@ -6,5 +6,10 @@ publish = false
[dependencies]
axum = { path = "../../axum" }
hyper = { version = "1.0.0", features = ["full"] }
hyper = { version = "1.0", features = [] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] }
tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["timeout", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }