diff --git a/ipfs/Cargo.toml b/ipfs/Cargo.toml index 4c20f87e8..3365537ad 100644 --- a/ipfs/Cargo.toml +++ b/ipfs/Cargo.toml @@ -12,7 +12,7 @@ common-types = { path = "../ethcore/types" } ethcore = { path = "../ethcore" } bytes = { package = "parity-bytes", version = "0.1"} ethereum-types = "0.6.0" -core = { package = "jsonrpc-core", version = "12.0.0"} +jsonrpc-core = "12.0.0" http = { package = "jsonrpc-http-server", version = "12.0.0"} rlp = "0.4.0" cid = "0.3" diff --git a/ipfs/src/lib.rs b/ipfs/src/lib.rs index efd4dff69..694c9fd77 100644 --- a/ipfs/src/lib.rs +++ b/ipfs/src/lib.rs @@ -21,8 +21,8 @@ use std::thread; use std::sync::{mpsc, Arc}; use std::net::{SocketAddr, IpAddr}; -use core::futures::future::{self, FutureResult}; -use core::futures::{self, Future}; +use jsonrpc_core::futures::future::{self, FutureResult}; +use jsonrpc_core::futures::{self, Future}; use client_traits::BlockChainClient; use http::hyper::{self, server, Method, StatusCode, Body, header::{self, HeaderValue},