Files
pezkuwi-subxt/substrate/client/network/test/Cargo.toml
T
Roman Borschel 327e02942c Update to libp2p-0.23. (#6870)
* Update to libp2p-0.23.

Thereby incorporate bandwidth measurement along the
lines previously done by libp2p itself.

* Tweak dependencies for wasm32 compilation.

For wasm32 we need to enable unstable features to
make `task::Builder::local` available.

* Simplify dependencies.

* Simplify.

Leave the calculation of bytes sent/received per second
to the outer layers of the code, subject to their own
individual update intervals.

* Cleanup

* Re-add lost dev dependency.

* Avoid division by zero.

* Remove redundant metric.

* Enable sending of noise legacy handshakes.

* Add comment about monotonic gauge.

* CI
2020-08-14 08:41:47 +00:00

36 lines
1.6 KiB
TOML

[package]
description = "Integration tests for Substrate network protocol"
name = "sc-network-test"
version = "0.8.0-rc5"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
publish = false
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sc-network = { version = "0.8.0-rc5", path = "../" }
log = "0.4.8"
parking_lot = "0.10.0"
futures = "0.3.4"
futures-timer = "3.0.1"
rand = "0.7.2"
libp2p = { version = "0.23.0", default-features = false }
sp-consensus = { version = "0.8.0-rc5", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.8.0-rc5", path = "../../../client/consensus/common" }
sc-client-api = { version = "2.0.0-rc5", path = "../../api" }
sp-blockchain = { version = "2.0.0-rc5", path = "../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0-rc5", path = "../../../primitives/runtime" }
sp-core = { version = "2.0.0-rc5", path = "../../../primitives/core" }
sc-block-builder = { version = "0.8.0-rc5", path = "../../block-builder" }
sp-consensus-babe = { version = "0.8.0-rc5", path = "../../../primitives/consensus/babe" }
env_logger = "0.7.0"
substrate-test-runtime-client = { version = "2.0.0-rc5", path = "../../../test-utils/runtime/client" }
substrate-test-runtime = { version = "2.0.0-rc5", path = "../../../test-utils/runtime" }
tempfile = "3.1.0"
sc-service = { version = "0.8.0-rc5", default-features = false, features = ["test-helpers"], path = "../../service" }