Update jsonrpc dependency syntax
This commit is contained in:
parent
124f6e83d2
commit
d3c09b4e96
|
@ -79,8 +79,9 @@ futures = "0.1.21"
|
||||||
generic-array = { version = "0.11.1", default-features = false, features = ["serde"] }
|
generic-array = { version = "0.11.1", default-features = false, features = ["serde"] }
|
||||||
getopts = "0.2"
|
getopts = "0.2"
|
||||||
influx_db_client = "0.3.4"
|
influx_db_client = "0.3.4"
|
||||||
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc" }
|
jsonrpc-core = "8.0"
|
||||||
jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc" }
|
jsonrpc-http-server = "8.0"
|
||||||
|
jsonrpc-macros = "8.0"
|
||||||
itertools = "0.7.8"
|
itertools = "0.7.8"
|
||||||
libc = "0.2.1"
|
libc = "0.2.1"
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate clap;
|
extern crate clap;
|
||||||
extern crate dirs;
|
extern crate dirs;
|
||||||
|
extern crate jsonrpc_core;
|
||||||
extern crate jsonrpc_http_server;
|
extern crate jsonrpc_http_server;
|
||||||
extern crate solana;
|
extern crate solana;
|
||||||
|
|
||||||
use clap::{App, Arg};
|
use clap::{App, Arg};
|
||||||
use jsonrpc_http_server::jsonrpc_core::*;
|
use jsonrpc_core::*;
|
||||||
use jsonrpc_http_server::*;
|
use jsonrpc_http_server::*;
|
||||||
use solana::crdt::NodeInfo;
|
use solana::crdt::NodeInfo;
|
||||||
use solana::fullnode::Config;
|
use solana::fullnode::Config;
|
||||||
|
|
|
@ -64,6 +64,7 @@ extern crate byteorder;
|
||||||
extern crate chrono;
|
extern crate chrono;
|
||||||
extern crate generic_array;
|
extern crate generic_array;
|
||||||
extern crate itertools;
|
extern crate itertools;
|
||||||
|
extern crate jsonrpc_core;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate jsonrpc_macros;
|
extern crate jsonrpc_macros;
|
||||||
extern crate jsonrpc_http_server;
|
extern crate jsonrpc_http_server;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
use bs58;
|
use bs58;
|
||||||
use client::mk_client;
|
use client::mk_client;
|
||||||
use crdt::NodeInfo;
|
use crdt::NodeInfo;
|
||||||
use jsonrpc_http_server::jsonrpc_core::*;
|
use jsonrpc_core::*;
|
||||||
use signature::{read_keypair, KeypairUtil, Pubkey, Signature};
|
use signature::{read_keypair, KeypairUtil, Pubkey, Signature};
|
||||||
use std::mem;
|
use std::mem;
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ mod tests {
|
||||||
use crdt::{get_ip_addr, TestNode};
|
use crdt::{get_ip_addr, TestNode};
|
||||||
use drone::{Drone, DroneRequest};
|
use drone::{Drone, DroneRequest};
|
||||||
use fullnode::FullNode;
|
use fullnode::FullNode;
|
||||||
use jsonrpc_http_server::jsonrpc_core::Response;
|
use jsonrpc_core::Response;
|
||||||
use ledger::LedgerWriter;
|
use ledger::LedgerWriter;
|
||||||
use mint::Mint;
|
use mint::Mint;
|
||||||
use service::Service;
|
use service::Service;
|
||||||
|
|
Loading…
Reference in New Issue