[package]
name = "sc-consensus-babe"
version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "BABE consensus algorithm for substrate"
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sc-consensus-babe"
readme = "README.md"

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

[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", features = [
    "derive",
] }
sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consensus/babe" }
sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" }
sp-core = { version = "5.0.0", path = "../../../primitives/core" }
sp-application-crypto = { version = "5.0.0", path = "../../../primitives/application-crypto" }
sp-keystore = { version = "0.11.0", path = "../../../primitives/keystore" }
num-bigint = "0.2.3"
num-rational = "0.2.2"
num-traits = "0.2.8"
serde = { version = "1.0.136", features = ["derive"] }
sp-version = { version = "4.0.0-dev", path = "../../../primitives/version" }
sp-io = { version = "5.0.0", path = "../../../primitives/io" }
sp-inherents = { version = "4.0.0-dev", path = "../../../primitives/inherents" }
sc-telemetry = { version = "4.0.0-dev", path = "../../telemetry" }
sc-keystore = { version = "4.0.0-dev", path = "../../keystore" }
sc-client-api = { version = "4.0.0-dev", path = "../../api" }
sc-consensus-epochs = { version = "0.10.0-dev", path = "../epochs" }
sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
sp-block-builder = { version = "4.0.0-dev", path = "../../../primitives/block-builder" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
sp-consensus-slots = { version = "0.10.0-dev", path = "../../../primitives/consensus/slots" }
sp-consensus-vrf = { version = "0.10.0-dev", path = "../../../primitives/consensus/vrf" }
sc-consensus-slots = { version = "0.10.0-dev", path = "../slots" }
sp-runtime = { version = "5.0.0", path = "../../../primitives/runtime" }
fork-tree = { version = "3.0.0", path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" }
futures = "0.3.9"
parking_lot = "0.11.2"
log = "0.4.8"
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated"] }
rand = "0.7.2"
merlin = "2.0"
thiserror = "1.0"
retain_mut = "0.1.4"
async-trait = "0.1.50"

[dev-dependencies]
sp-timestamp = { version = "4.0.0-dev", path = "../../../primitives/timestamp" }
sp-tracing = { version = "4.0.0", path = "../../../primitives/tracing" }
sc-network = { version = "0.10.0-dev", path = "../../network" }
sc-network-test = { version = "0.8.0", path = "../../network/test" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" }
rand_chacha = "0.2.2"
tempfile = "3.1.0"
