diff --git a/crates/punktfunk-host/src/native/handshake.rs b/crates/punktfunk-host/src/native/handshake.rs index 210dbf05..64614c25 100644 --- a/crates/punktfunk-host/src/native/handshake.rs +++ b/crates/punktfunk-host/src/native/handshake.rs @@ -10,7 +10,7 @@ use super::*; /// Run the Hello→Welcome→Start negotiation. Borrows the control streams (the caller keeps them for /// mid-stream renegotiation afterwards). `first` is the already-read first control message. -#[allow(clippy::type_complexity)] +#[allow(clippy::type_complexity, clippy::too_many_arguments)] pub(super) async fn negotiate( conn: &quinn::Connection, send: &mut quinn::SendStream, diff --git a/crates/punktfunk-host/src/session_status.rs b/crates/punktfunk-host/src/session_status.rs index 0e35c8da..1524d9c0 100644 --- a/crates/punktfunk-host/src/session_status.rs +++ b/crates/punktfunk-host/src/session_status.rs @@ -85,6 +85,7 @@ fn session_ref(s: &LiveSession) -> crate::events::SessionRef { /// Registers a live native session; the returned guard removes it on drop (session end). /// Emits the `session.started` lifecycle event; the guard's drop emits `session.ended` — RAII, /// so every exit path (return, `?`, panic-unwind) pairs them. +#[allow(clippy::too_many_arguments)] pub fn register( mode: Arc, bitrate_kbps: Arc,