Skip to content

Commit e2f5e63

Browse files
committed
echo
1 parent 7bf014d commit e2f5e63

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

pkgs/id/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/id/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ edition = "2024"
55

66
[dependencies]
77
iroh = "0.94.0"
8-
tokio = "1.48.0"
8+
n0-snafu = "0.2.2"
9+
tokio = { version = "1.48.0", features = ["full"] }
10+

pkgs/id/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
//! ## Usage
66
//!
77
//! cargo run --example echo --features=examples
8+
89
use iroh::{
910
Endpoint, EndpointAddr,
1011
endpoint::Connection,
1112
protocol::{AcceptError, ProtocolHandler, Router},
1213
};
13-
use n0_snafu::Result;
14-
use n0_snafu::error::ResultExt;
14+
use n0_snafu::{Result, ResultExt};
15+
1516
/// Each protocol is identified by its ALPN string.
1617
///
1718
/// The ALPN, or application-layer protocol negotiation, is exchanged in the connection handshake,

0 commit comments

Comments
 (0)