[package]
name = "sp-consensus"
version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Common utilities for building and using consensus engines in substrate."
documentation = "https://docs.rs/sp-consensus/"
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
async-trait = "0.1.42"
codec = { package = "parity-scale-codec", version = "2.0.0", features = [
    "derive",
] }
futures = { version = "0.3.1", features = ["thread-pool"] }
log = "0.4.8"
sp-core = { path = "../../core", version = "5.0.0"}
sp-inherents = { version = "4.0.0-dev", path = "../../inherents" }
sp-state-machine = { version = "0.11.0", path = "../../state-machine" }
futures-timer = "3.0.1"
sp-std = { version = "4.0.0", path = "../../std" }
sp-version = { version = "4.0.0-dev", path = "../../version" }
sp-runtime = { version = "5.0.0", path = "../../runtime" }
thiserror = "1.0.30"

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

[features]
default = []
