diff --git a/Cargo.lock b/Cargo.lock index 7605b94e..bf8c74a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 1fd5af7a..58e84a22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 #