We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d1890 commit 4aca16fCopy full SHA for 4aca16f
irpc-iroh/src/lib.rs
@@ -12,7 +12,7 @@ use irpc::{
12
util::AsyncReadVarintExt,
13
RequestError,
14
};
15
-use n0_future::boxed::BoxFuture;
+use n0_future::{boxed::BoxFuture, TryFutureExt};
16
use serde::de::DeserializeOwned;
17
use tracing::{trace, trace_span, warn, Instrument};
18
@@ -86,10 +86,6 @@ async fn connect_and_open_bi(
86
Ok((send, recv))
87
}
88
89
-use n0_future::TryFutureExt;
90
-use serde::de::DeserializeOwned;
91
-use tracing::{trace, trace_span, warn, Instrument};
92
-
93
/// A [`ProtocolHandler`] for an irpc protocol.
94
///
95
/// Can be added to an [`iroh::router::Router`] to handle incoming connections for an ALPN string.
0 commit comments