Files
pezkuwi-subxt/substrate/primitives/consensus/common/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

42 lines
1.6 KiB
TOML

[package]
name = "sp-consensus"
version = "0.8.0-rc5"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Common utilities for building and using consensus engines in substrate."
documentation = "https://docs.rs/sp-consensus/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
derive_more = "0.99.2"
libp2p = { version = "0.23.0", default-features = false }
log = "0.4.8"
sp-core = { path= "../../core", version = "2.0.0-rc5"}
sp-inherents = { version = "2.0.0-rc5", path = "../../inherents" }
sp-state-machine = { version = "0.8.0-rc5", path = "../../../primitives/state-machine" }
futures = { version = "0.3.1", features = ["thread-pool"] }
futures-timer = "3.0.1"
sp-std = { version = "2.0.0-rc5", path = "../../std" }
sp-version = { version = "2.0.0-rc5", path = "../../version" }
sp-runtime = { version = "2.0.0-rc5", path = "../../runtime" }
sp-utils = { version = "2.0.0-rc5", path = "../../utils" }
sp-trie = { version = "2.0.0-rc5", path = "../../trie" }
sp-api = { version = "2.0.0-rc5", path = "../../api" }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
parking_lot = "0.10.0"
serde = { version = "1.0", features = ["derive"] }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0-rc5"}
wasm-timer = "0.2.4"
[dev-dependencies]
sp-test-primitives = { version = "2.0.0-rc5", path = "../../test-primitives" }
[features]
default = []