diff --git a/Cargo.toml b/Cargo.toml index 39054ff..36e4e0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" clap = { version = "4", features = ["derive", "env"] } axum = "0.7" -axum-server = { version = "0.7", features = ["tls-rustls"] } +axum-server = { version = "0.8", features = ["tls-rustls"] } rustls = "0.23" parking_lot = "0.12" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } diff --git a/crates/forkd-controller/src/lib.rs b/crates/forkd-controller/src/lib.rs index 1d351b8..edf8e36 100644 --- a/crates/forkd-controller/src/lib.rs +++ b/crates/forkd-controller/src/lib.rs @@ -195,7 +195,7 @@ async fn load_tls(cert: &Path, key: &Path) -> Result { .with_context(|| format!("load TLS cert {} / key {}", cert.display(), key.display())) } -fn spawn_shutdown_signal(handle: Handle) { +fn spawn_shutdown_signal(handle: Handle) { tokio::spawn(async move { let ctrl_c = async { let _ = tokio::signal::ctrl_c().await;