From 2693ec5c0b5ab2fba4a346b388d7ea9bfa04c9b2 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 26 Apr 2024 08:45:03 +0000 Subject: [PATCH] fix(iroh-gossip): do not enable "metrics" feature for iroh-net by default (#2235) Otherwise it is impossible to disable metrics support in iroh-net if iroh-gossip is used. Co-authored-by: Friedel Ziegelmayer --- iroh-gossip/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-gossip/Cargo.toml b/iroh-gossip/Cargo.toml index defba334fa..f360715b48 100644 --- a/iroh-gossip/Cargo.toml +++ b/iroh-gossip/Cargo.toml @@ -32,7 +32,7 @@ iroh-base = { version = "0.14.0", path = "../iroh-base" } # net dependencies (optional) futures = { version = "0.3.25", optional = true } -iroh-net = { path = "../iroh-net", version = "0.14.0", optional = true } +iroh-net = { path = "../iroh-net", version = "0.14.0", optional = true, default-features = false } quinn = { version = "0.10", optional = true } tokio = { version = "1", optional = true, features = ["io-util", "sync", "rt", "macros", "net", "fs"] } tokio-util = { version = "0.7.8", optional = true, features = ["codec"] }