mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 09:31:02 +00:00
Fix libp2p features (#6229)
* Fix libp2p features * Remove the opt-level of some now-unused crates
This commit is contained in:
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", default-features = false, version = "1
|
||||
derive_more = "0.99.2"
|
||||
futures = "0.3.4"
|
||||
futures-timer = "3.0.1"
|
||||
libp2p = { version = "0.19.1", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
|
||||
libp2p = { version = "0.19.1", default-features = false, features = ["kad"] }
|
||||
log = "0.4.8"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-rc2"}
|
||||
prost = "0.6.1"
|
||||
|
||||
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
futures = "0.3.4"
|
||||
futures-timer = "3.0.1"
|
||||
libp2p = { version = "0.19.1", default-features = false, features = ["websocket"] }
|
||||
libp2p = { version = "0.19.1", default-features = false }
|
||||
log = "0.4.8"
|
||||
lru = "0.4.3"
|
||||
sc-network = { version = "0.8.0-rc2", path = "../network" }
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -19,7 +19,7 @@ parking_lot = "0.10.0"
|
||||
futures = "0.3.4"
|
||||
futures-timer = "3.0.1"
|
||||
wasm-timer = "0.2.0"
|
||||
libp2p = { version = "0.19.1", default-features = false, features = ["websocket", "wasm-ext", "tcp-async-std", "dns"] }
|
||||
libp2p = { version = "0.19.1", default-features = false, features = ["dns", "tcp-async-std", "wasm-ext", "websocket"] }
|
||||
log = "0.4.8"
|
||||
pin-project = "0.4.6"
|
||||
rand = "0.7.2"
|
||||
|
||||
Reference in New Issue
Block a user