[package] name = "sc-consensus-babe-rpc" version = "0.34.0" authors.workspace = true description = "RPC extensions for the BABE consensus algorithm" edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage = "https://substrate.io" repository.workspace = true readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } futures = "0.3.30" serde = { features = ["derive"], workspace = true, default-features = true } thiserror = { workspace = true } sc-consensus-babe = { path = ".." } sc-consensus-epochs = { path = "../../epochs" } sc-rpc-api = { path = "../../../rpc-api" } sp-api = { path = "../../../../primitives/api" } sp-application-crypto = { path = "../../../../primitives/application-crypto" } sp-blockchain = { path = "../../../../primitives/blockchain" } sp-consensus = { path = "../../../../primitives/consensus/common" } sp-consensus-babe = { path = "../../../../primitives/consensus/babe" } sp-core = { path = "../../../../primitives/core" } sp-keystore = { path = "../../../../primitives/keystore" } sp-runtime = { path = "../../../../primitives/runtime" } [dev-dependencies] serde_json = { workspace = true, default-features = true } tokio = "1.37" sc-consensus = { path = "../../common" } sc-keystore = { path = "../../../keystore" } sc-transaction-pool-api = { path = "../../../transaction-pool/api" } sp-keyring = { path = "../../../../primitives/keyring" } substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" }