fix waku feature gate (#260)

This commit is contained in:
Al Liu 2023-07-14 15:59:16 +08:00 committed by GitHub
parent c29a641a9f
commit a59682be54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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"]

View File

@ -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"]