mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 14:41:11 +00:00
Migrate rpc-servers, serializer, service and sr-io to the 2018 edition (#1732)
This commit is contained in:
committed by
Bastian Köcher
parent
91114c6c11
commit
31188dc013
@@ -2,11 +2,12 @@
|
||||
name = "substrate-rpc-servers"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
jsonrpc-http-server = "10.0.1"
|
||||
jsonrpc-pubsub = "10.0.1"
|
||||
jsonrpc-ws-server = "10.0.1"
|
||||
http = { package = "jsonrpc-http-server", version = "10.0.1" }
|
||||
pubsub = { package = "jsonrpc-pubsub", version = "10.0.1" }
|
||||
ws = { package = "jsonrpc-ws-server", version = "10.0.1" }
|
||||
log = "0.4"
|
||||
serde = "1.0"
|
||||
substrate-rpc = { path = "../rpc", version = "0.1" }
|
||||
|
||||
@@ -18,18 +18,10 @@
|
||||
|
||||
#[warn(missing_docs)]
|
||||
|
||||
pub extern crate substrate_rpc as apis;
|
||||
|
||||
extern crate jsonrpc_http_server as http;
|
||||
extern crate jsonrpc_pubsub as pubsub;
|
||||
extern crate jsonrpc_ws_server as ws;
|
||||
extern crate serde;
|
||||
extern crate sr_primitives;
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
pub use substrate_rpc as apis;
|
||||
|
||||
use std::io;
|
||||
use log::error;
|
||||
use sr_primitives::{traits::{Block as BlockT, NumberFor}, generic::SignedBlock};
|
||||
|
||||
/// Maximal payload accepted by RPC servers
|
||||
|
||||
Reference in New Issue
Block a user