From a59682be548e7122efa2b71ab151c86f2d77986f Mon Sep 17 00:00:00 2001 From: Al Liu Date: Fri, 14 Jul 2023 15:59:16 +0800 Subject: [PATCH] fix waku feature gate (#260) --- nomos-core/Cargo.toml | 1 + nomos-services/mempool/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nomos-core/Cargo.toml b/nomos-core/Cargo.toml index e9df9d15..5b82ec3e 100644 --- a/nomos-core/Cargo.toml +++ b/nomos-core/Cargo.toml @@ -32,3 +32,4 @@ tokio = { version = "1.23", features = ["macros", "rt"] } default = [] raptor = ["raptorq"] mock = ["nomos-network/mock", "serde_json"] +waku = ["nomos-network/waku", "serde_json"] diff --git a/nomos-services/mempool/Cargo.toml b/nomos-services/mempool/Cargo.toml index 6bbba44e..1786cb22 100644 --- a/nomos-services/mempool/Cargo.toml +++ b/nomos-services/mempool/Cargo.toml @@ -11,7 +11,7 @@ bincode = { version = "2.0.0-rc.2", features = ["serde"] } chrono = "0.4" futures = "0.3" linked-hash-map = { version = "0.5.6", optional = true } -nomos-network = { path = "../network", features = ["waku"] } +nomos-network = { path = "../network" } nomos-core = { path = "../../nomos-core" } overwatch-rs = { git = "https://github.com/logos-co/Overwatch", branch = "main" } rand = { version = "0.8", optional = true } @@ -30,5 +30,5 @@ blake2 = "0.10" [features] default = [] -waku = ["nomos-network/waku", "waku-bindings"] +waku = ["nomos-network/waku", "nomos-core/waku", "waku-bindings"] mock = ["linked-hash-map", "nomos-network/mock", "rand", "nomos-core/mock"]