mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 06:31:09 +00:00
JSON-RPC client generation (#2778)
* Bump jsonrpc & generate clients. * Initial version of JSON-RPC client. * Re-wort * Remove spurious `#[derive(Encode, Decode)]` They did not compile, since `Encode` and `Decode` are deliberately not implemented for `usize`. Fixes #2742. * Re-write rpc-client example. * Update to jsonrpc=12.0.0 * Remove unnecessary import * Bump version. * Revert version bump. * Bump again.
This commit is contained in:
committed by
Gavin Wood
parent
5df89a8a6f
commit
6112f815b3
@@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "node-rpc-client"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.6"
|
||||
futures = "0.1.26"
|
||||
hyper = "0.12"
|
||||
jsonrpc-core-client = { version = "12.0.0", features = ["http", "ws"] }
|
||||
log = "0.4"
|
||||
node-primitives = { path = "../primitives" }
|
||||
substrate-rpc = { path = "../../core/rpc", version = "2.0.0" }
|
||||
Reference in New Issue
Block a user