[Fix] Clean
All checks were successful
CI / checks (push) Successful in 4m36s

This commit is contained in:
Alex Emmet 2026-08-14 14:39:09 +02:00
commit 188caf56cc
12 changed files with 124 additions and 157 deletions

View file

@ -25,7 +25,6 @@ rustls = "0.23"
tracing = "0.1"
thiserror = "2"
async-trait = "0.1"
rand = { version = "0.10.1", optional = true }
[dev-dependencies]
rcgen = "0.14"
@ -33,5 +32,5 @@ hyper = { version = "1", features = ["client", "http2"] }
[features]
default = []
crypto = ["mtp-host/crypto", "dep:rand"]
crypto = ["mtp-host/crypto"]
pipes = ["mtp-host/pipes", "mtp-transport/pipes"]

View file

@ -220,6 +220,7 @@ pub type WebMtpReceiver = GenericReceiver<H3TransportConnection>;
pub type WebMTPConnection =
mtp_host::MTPConnection<WebMtpSender, WebMtpReceiver, H3TransportReceiver>;
#[allow(clippy::too_many_arguments)]
pub(crate) async fn accept_web_connection(
session: Arc<Session>,
path: String,
@ -268,6 +269,7 @@ pub(crate) async fn accept_web_connection(
.await
}
#[allow(clippy::too_many_arguments)]
async fn accept_web_connection_inner(
session: Arc<Session>,
path: String,