Files
pezkuwi-subxt/substrate/bin/node/rpc/Cargo.toml
T
Hernando Castano ea1eb4e57f Use Subscription Manager from jsonrpc-pubsub (#6208)
* Bump jsonrpc pubsub, core, http, and ws

Right now these are the packages which _need_ to be updated
so I can just the latest `jsonrpc-pubsub` code. Once a release
it cut upstream the rest of the dependencies should be updated
as well.

* Use jsonrpc-pubsub's SubscriptionManager

This places sc-rpc-api::Subscriptions

* Bump jsonrpc-core outside of sc-rpc-*

* Update client/rpc tests

Right now one of the `author` tests is failing, I
need to think a bit about how best to fix it.

* Remove Subscriptions manager

There's no need for this implementation since we're
using the one from `jsonrpc-pubsub` now

* Fix author RPC test

This test used to check for a numerial subscription ID,
whereas now it uses a string based ID which is the default
provided by `jsonrpc-pubsub`'s subscription manager.

* Remove unused NumericIdProvider

* Add missing bracket

Removed one too many with that last one, lol

* Bump `jsonrpc` to v14.2

There's an exception though. `jsonrpc-derive` cannot be bumped
past v14.0.5 just yet since it has a dependency on `quote` pinned
to v1.0.1. This means that at the moment it won't build on Substrate
since it's using v1.0.3.

* Track `jsonrpc-derive` master branch

* Bump `quote` version to v1.0.6

* Bump `jsonrpc-derive` to v14.2.1

This includes support for `quote` v1.0.6
2020-06-04 09:50:22 +01:00

34 lines
1.9 KiB
TOML

[package]
name = "node-rpc"
version = "2.0.0-rc2"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sc-client-api = { version = "2.0.0-rc2", path = "../../../client/api" }
jsonrpc-core = "14.2"
node-primitives = { version = "2.0.0-rc2", path = "../primitives" }
node-runtime = { version = "2.0.0-rc2", path = "../runtime" }
sp-runtime = { version = "2.0.0-rc2", path = "../../../primitives/runtime" }
sp-api = { version = "2.0.0-rc2", path = "../../../primitives/api" }
pallet-contracts-rpc = { version = "0.8.0-rc2", path = "../../../frame/contracts/rpc/" }
pallet-transaction-payment-rpc = { version = "2.0.0-rc2", path = "../../../frame/transaction-payment/rpc/" }
substrate-frame-rpc-system = { version = "2.0.0-rc2", path = "../../../utils/frame/rpc/system" }
sp-transaction-pool = { version = "2.0.0-rc2", path = "../../../primitives/transaction-pool" }
sc-consensus-babe = { version = "0.8.0-rc2", path = "../../../client/consensus/babe" }
sc-consensus-babe-rpc = { version = "0.8.0-rc2", path = "../../../client/consensus/babe/rpc" }
sp-consensus-babe = { version = "0.8.0-rc2", path = "../../../primitives/consensus/babe" }
sc-keystore = { version = "2.0.0-rc2", path = "../../../client/keystore" }
sc-consensus-epochs = { version = "0.8.0-rc2", path = "../../../client/consensus/epochs" }
sp-consensus = { version = "0.8.0-rc2", path = "../../../primitives/consensus/common" }
sp-blockchain = { version = "2.0.0-rc2", path = "../../../primitives/blockchain" }
sc-finality-grandpa = { version = "0.8.0-rc2", path = "../../../client/finality-grandpa" }
sc-finality-grandpa-rpc = { version = "0.8.0-rc2", path = "../../../client/finality-grandpa/rpc" }
sc-rpc-api = { version = "0.8.0-rc2", path = "../../../client/rpc-api" }