[package] name = "sc-rpc-spec-v2" version = "0.45.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true repository.workspace = true description = "Substrate RPC interface v2." readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] jsonrpsee = { workspace = true, features = ["client-core", "macros", "server-core"] } sc-chain-spec.workspace = true sc-chain-spec.default-features = true sc-transaction-pool-api.workspace = true sc-transaction-pool-api.default-features = true sp-core.workspace = true sp-core.default-features = true sp-runtime.workspace = true sp-runtime.default-features = true sp-api.workspace = true sp-api.default-features = true sp-rpc.workspace = true sp-rpc.default-features = true sp-blockchain.workspace = true sp-blockchain.default-features = true sp-version.workspace = true sp-version.default-features = true sc-client-api.workspace = true sc-client-api.default-features = true sc-utils.workspace = true sc-utils.default-features = true sc-rpc.workspace = true sc-rpc.default-features = true codec = { workspace = true, default-features = true } thiserror = { workspace = true } serde = { workspace = true, default-features = true } hex = { workspace = true, default-features = true } futures = { workspace = true } parking_lot = { workspace = true, default-features = true } tokio-stream = { features = ["sync"], workspace = true } tokio = { features = ["sync"], workspace = true, default-features = true } array-bytes = { workspace = true, default-features = true } log = { workspace = true, default-features = true } futures-util = { workspace = true } rand = { workspace = true, default-features = true } schnellru = { workspace = true } [dev-dependencies] jsonrpsee = { workspace = true, features = ["server", "ws-client"] } serde_json = { workspace = true, default-features = true } tokio = { features = ["macros"], workspace = true, default-features = true } substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } substrate-test-runtime = { path = "../../test-utils/runtime" } substrate-test-runtime-transaction-pool = { path = "../../test-utils/runtime/transaction-pool" } sp-consensus = { default-features = true, path = "../../primitives/consensus/common" } sp-externalities = { default-features = true, path = "../../primitives/externalities" } sp-maybe-compressed-blob = { default-features = true, path = "../../primitives/maybe-compressed-blob" } sc-block-builder = { default-features = true, path = "../block-builder" } sc-service = { features = ["test-helpers"], default-features = true, path = "../service" } assert_matches = { workspace = true } pretty_assertions = { workspace = true } sc-transaction-pool = { default-features = true, path = "../transaction-pool" }