[package]
name = "sp-consensus"
version = "0.8.0-rc6"
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.24.0", default-features = false }
log = "0.4.8"
sp-core = { path= "../../core", version = "2.0.0-rc6"}
sp-inherents = { version = "2.0.0-rc6", path = "../../inherents" }
sp-state-machine = { version = "0.8.0-rc6", path = "../../../primitives/state-machine" }
futures = { version = "0.3.1", features = ["thread-pool"] }
futures-timer = "3.0.1"
sp-std = { version = "2.0.0-rc6", path = "../../std" }
sp-version = { version = "2.0.0-rc6", path = "../../version" }
sp-runtime = { version = "2.0.0-rc6", path = "../../runtime" }
sp-utils = { version = "2.0.0-rc6", path = "../../utils" }
sp-trie = { version = "2.0.0-rc6", path = "../../trie" }
sp-api = { version = "2.0.0-rc6", 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-rc6"}
wasm-timer = "0.2.4"

[dev-dependencies]
sp-test-primitives = { version = "2.0.0-rc6", path = "../../test-primitives" }

[features]
default = []
