This commit is contained in:
parent
e939714557
commit
188caf56cc
12 changed files with 124 additions and 157 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue