[package]
name = "sc-rpc"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate Client RPC"
readme = "README.md"

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

[dependencies]
sc-rpc-api = { version = "0.10.0-dev", path = "../rpc-api" }
sc-client-api = { version = "4.0.0-dev", path = "../api" }
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
futures = "0.3.16"
jsonrpc-pubsub = "18.0.0"
log = "0.4.8"
sp-core = { version = "5.0.0", path = "../../primitives/core" }
rpc = { package = "jsonrpc-core", version = "18.0.0" }
sp-version = { version = "4.0.0-dev", path = "../../primitives/version" }
serde_json = "1.0.74"
sp-session = { version = "4.0.0-dev", path = "../../primitives/session" }
sp-offchain = { version = "4.0.0-dev", path = "../../primitives/offchain" }
sp-runtime = { version = "5.0.0", path = "../../primitives/runtime" }
sc-utils = { version = "4.0.0-dev", path = "../utils" }
sp-rpc = { version = "5.0.0", path = "../../primitives/rpc" }
sp-keystore = { version = "0.11.0", path = "../../primitives/keystore" }
sc-chain-spec = { version = "4.0.0-dev", path = "../chain-spec" }
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sc-tracing = { version = "4.0.0-dev", path = "../tracing" }
hash-db = { version = "0.15.2", default-features = false }
parking_lot = "0.11.2"
lazy_static = { version = "1.4.0", optional = true }
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../transaction-pool/api" }

[dev-dependencies]
assert_matches = "1.3.0"
lazy_static = "1.4.0"
sc-network = { version = "0.10.0-dev", path = "../network" }
sp-io = { version = "5.0.0", path = "../../primitives/io" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
sc-transaction-pool = { version = "4.0.0-dev", path = "../transaction-pool" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }

[features]
test-helpers = ["lazy_static"]
