Fix libp2p features (#6229)

* Fix libp2p features

* Remove the opt-level of some now-unused crates
This commit is contained in:
Pierre Krieger
2020-06-03 15:24:44 +02:00
committed by GitHub
parent 0c6ae6f3d4
commit e77490714d
8 changed files with 31 additions and 173 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ zeroize = "1.0.0"
[dependencies.libp2p]
version = "0.19.1"
default-features = false
features = ["websocket", "kad", "mdns", "ping", "identify", "mplex", "yamux", "noise", "tcp-async-std"]
features = ["identify", "kad", "mdns", "mplex", "noise", "ping", "tcp-async-std", "websocket", "yamux"]
[dev-dependencies]
async-std = "1.5"
+1 -1
View File
@@ -19,7 +19,7 @@ parking_lot = "0.10.0"
futures = "0.3.4"
futures-timer = "3.0.1"
rand = "0.7.2"
libp2p = { version = "0.19.1", default-features = false, features = ["libp2p-websocket"] }
libp2p = { version = "0.19.1", default-features = false }
sp-consensus = { version = "0.8.0-rc2", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.8.0-rc2", path = "../../../client/consensus/common" }
sc-client-api = { version = "2.0.0-rc2", path = "../../api" }