diff --git a/hive-c0re/src/server.rs b/hive-c0re/src/server.rs index 6a5d1bc4..baafde31 100644 --- a/hive-c0re/src/server.rs +++ b/hive-c0re/src/server.rs @@ -74,6 +74,12 @@ async fn handle(stream: UnixStream, coord: Arc) -> Result<()> { } } +#[allow( + clippy::too_many_lines, + reason = "flat one-arm-per-HostRequest-variant router; each arm just \ + delegates to a handler. Splitting the match would scatter the \ + wire-command routing without shrinking it." +)] async fn dispatch(req: &HostRequest, coord: Arc) -> HostResponse { let result: anyhow::Result = async { Ok(match req {