diff --git a/Cargo.lock b/Cargo.lock index f60c4c6..1a56c5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2001,6 +2001,7 @@ dependencies = [ "hex", "indicatif", "iroh", + "iroh-base", "iroh-metrics", "iroh-net-report", "pkarr", diff --git a/Cargo.toml b/Cargo.toml index 7a3f334..fb4419a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ tracing-appender = "0.2.3" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } [dev-dependencies] +iroh-base = "0.29.0" url = "2.5.2" # [patch.crates-io] diff --git a/src/config.rs b/src/config.rs index 56e4b40..30579bc 100644 --- a/src/config.rs +++ b/src/config.rs @@ -223,7 +223,7 @@ mod tests { url: Url::parse("https://example.org./").unwrap().into(), stun_only: false, stun_port: 123, - quic: None, + quic: Some(iroh_base::relay_map::QuicConfig { port: 7842 }), }; assert_eq!(config.relay_nodes, vec![expected]); }