[package] name = "polkadot-node-core-chain-api" version = "18.0.0" authors.workspace = true edition.workspace = true license.workspace = true description = "The Chain API subsystem provides access to chain related utility functions like block number to hash conversions." [lints] workspace = true [dependencies] futures = { workspace = true } gum.workspace = true gum.default-features = true polkadot-node-metrics.workspace = true polkadot-node-metrics.default-features = true polkadot-node-subsystem.workspace = true polkadot-node-subsystem.default-features = true polkadot-node-subsystem-types.workspace = true polkadot-node-subsystem-types.default-features = true sc-client-api.workspace = true sc-client-api.default-features = true sc-consensus-babe.workspace = true sc-consensus-babe.default-features = true [dev-dependencies] futures = { features = ["thread-pool"], workspace = true } maplit = { workspace = true } codec = { workspace = true, default-features = true } polkadot-node-primitives = { default-features = true, path = "../../primitives" } polkadot-primitives = { default-features = true, path = "../../../primitives" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-core = { default-features = true, path = "../../../../substrate/primitives/core" } sp-blockchain = { default-features = true, path = "../../../../substrate/primitives/blockchain" }