From 031ae5ba92f3c9bd8e361a24057cbceb0788160e Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 25 Apr 2024 17:00:39 +0000 Subject: [PATCH] build(iroh-gossip): do not enable "metrics" feature for iroh-net Otherwise it is impossible to disable metrics support in iroh-net if iroh-gossip is used. --- 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"] }