[package]
name = "sc-consensus"
version = "0.23.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Collection of common consensus specific imlementations for Substrate (client)"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = "0.1.57"
futures = { version = "0.3.21", features = ["thread-pool"] }
futures-timer = "3.0.1"
libp2p = "0.50.0"
log = "0.4.17"
mockall = "0.11.3"
parking_lot = "0.12.1"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.30"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.12.0" }
sc-client-api = { version = "18.0.0" }
sc-utils = { version = "6.0.0" }
sp-api = { version = "16.0.0" }
sp-blockchain = { version = "18.0.0" }
sp-consensus = { version = "0.22.0" }
sp-core = { version = "18.0.0" }
sp-runtime = { version = "20.0.0" }
sp-state-machine = { version = "0.24.0" }
[dev-dependencies]
sp-test-primitives = { path = "../../../primitives/test-primitives" }