switch to patch/fork of axum-server to fix shutdown hangs

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-06-10 16:49:17 -04:00
parent ac02078395
commit 6b843ec4dd
2 changed files with 6 additions and 2 deletions

3
Cargo.lock generated
View file

@ -302,8 +302,7 @@ dependencies = [
[[package]]
name = "axum-server"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1ad46c3ec4e12f4a4b6835e173ba21c25e484c9d02b49770bf006ce5367c036"
source = "git+https://github.com/lexe-app/axum-server?branch=phlip9/fix-graceful-shutdown#8e3368d899079818934e61cc9c839abcbbcada8a"
dependencies = [
"arc-swap",
"bytes",

View file

@ -427,6 +427,11 @@ branch = "tracing-subscriber/env-filter-clone-0.1.x-backport"
git = "https://github.com/girlbossceo/tracing"
branch = "tracing-subscriber/env-filter-clone-0.1.x-backport"
# fixes hyper graceful shutdowns [https://github.com/programatik29/axum-server/issues/114]
[patch.crates-io.axum-server]
git = "https://github.com/lexe-app/axum-server"
branch = "phlip9/fix-graceful-shutdown"
#
# Our crates
#