From 6b9f261dfffc85eb4e7337fcd1b3e1f593534720 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 15 Jul 2026 21:32:08 +0200 Subject: [PATCH] style(host): rustfmt sweep for the console-sweep push b8da32e8 landed with two call sites and a log line rustfmt rewraps; CI's cargo fmt --all --check gate was failing on every run since. No code change. Co-Authored-By: Claude Fable 5 --- crates/punktfunk-host/src/gamestream/mod.rs | 16 ++++++++++++++-- crates/punktfunk-host/src/mgmt.rs | 18 ++++++++++++------ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/crates/punktfunk-host/src/gamestream/mod.rs b/crates/punktfunk-host/src/gamestream/mod.rs index 9dad3e2c..02823d62 100644 --- a/crates/punktfunk-host/src/gamestream/mod.rs +++ b/crates/punktfunk-host/src/gamestream/mod.rs @@ -252,7 +252,13 @@ pub fn serve( ); tokio::try_join!( nvhttp::run(state.clone()), - crate::mgmt::run(state.clone(), mgmt, Some(np.clone()), stats.clone(), gamestream), + crate::mgmt::run( + state.clone(), + mgmt, + Some(np.clone()), + stats.clone(), + gamestream + ), crate::punktfunk1::serve(native_opts, native.mgmt_port, np, stats.clone()), )?; } else { @@ -263,7 +269,13 @@ pub fn serve( (GameStream OFF — pass --gamestream for stock-Moonlight compat)" ); tokio::try_join!( - crate::mgmt::run(state.clone(), mgmt, Some(np.clone()), stats.clone(), gamestream), + crate::mgmt::run( + state.clone(), + mgmt, + Some(np.clone()), + stats.clone(), + gamestream + ), crate::punktfunk1::serve(native_opts, native.mgmt_port, np, stats.clone()), )?; } diff --git a/crates/punktfunk-host/src/mgmt.rs b/crates/punktfunk-host/src/mgmt.rs index 787d621c..a4cec12f 100644 --- a/crates/punktfunk-host/src/mgmt.rs +++ b/crates/punktfunk-host/src/mgmt.rs @@ -1530,11 +1530,13 @@ async fn get_local_summary(State(st): State>) -> Json>) -> StatusCode { // session registry), so signal every live native session to tear down too. let native = crate::session_status::count(); crate::session_status::stop_all(); - tracing::info!(was_streaming, native_sessions = native, "management API: session stopped"); + tracing::info!( + was_streaming, + native_sessions = native, + "management API: session stopped" + ); StatusCode::NO_CONTENT }