Update jsonrpc dependency syntax

This commit is contained in:
Tyera Eulberg 2018-08-13 13:59:04 -06:00 committed by Tyera Eulberg
parent 124f6e83d2
commit d3c09b4e96
4 changed files with 8 additions and 5 deletions

View File

@ -79,8 +79,9 @@ futures = "0.1.21"
generic-array = { version = "0.11.1", default-features = false, features = ["serde"] }
getopts = "0.2"
influx_db_client = "0.3.4"
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc" }
jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc" }
jsonrpc-core = "8.0"
jsonrpc-http-server = "8.0"
jsonrpc-macros = "8.0"
itertools = "0.7.8"
libc = "0.2.1"
log = "0.4.2"

View File

@ -4,11 +4,12 @@
#[macro_use]
extern crate clap;
extern crate dirs;
extern crate jsonrpc_core;
extern crate jsonrpc_http_server;
extern crate solana;
use clap::{App, Arg};
use jsonrpc_http_server::jsonrpc_core::*;
use jsonrpc_core::*;
use jsonrpc_http_server::*;
use solana::crdt::NodeInfo;
use solana::fullnode::Config;

View File

@ -64,6 +64,7 @@ extern crate byteorder;
extern crate chrono;
extern crate generic_array;
extern crate itertools;
extern crate jsonrpc_core;
#[macro_use]
extern crate jsonrpc_macros;
extern crate jsonrpc_http_server;

View File

@ -3,7 +3,7 @@
use bs58;
use client::mk_client;
use crdt::NodeInfo;
use jsonrpc_http_server::jsonrpc_core::*;
use jsonrpc_core::*;
use signature::{read_keypair, KeypairUtil, Pubkey, Signature};
use std::mem;
@ -132,7 +132,7 @@ mod tests {
use crdt::{get_ip_addr, TestNode};
use drone::{Drone, DroneRequest};
use fullnode::FullNode;
use jsonrpc_http_server::jsonrpc_core::Response;
use jsonrpc_core::Response;
use ledger::LedgerWriter;
use mint::Mint;
use service::Service;