[package]
name = "sp-consensus"
version = "0.22.0"
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.57"
codec = { package = "parity-scale-codec", version = "3.2.2", features = [
"derive",
] }
futures = { version = "0.3.21", features = ["thread-pool"] }
log = "0.4.17"
thiserror = "1.0.30"
sp-core = { version = "18.0.0" }
sp-inherents = { version = "16.0.0" }
sp-runtime = { version = "20.0.0" }
sp-state-machine = { version = "0.24.0" }
sp-std = { version = "7.0.0" }
sp-version = { version = "18.0.0" }
[dev-dependencies]
futures = "0.3.21"
sp-test-primitives = { path = "../../test-primitives" }
[features]
default = []