Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix compilation on recent nightlies (#10991)
Browse files Browse the repository at this point in the history
For reasons unknown (to me) recent rustc nightlies can't find the `format!`-macro in `core` when there is an import named `core`. This PR removes the package rename and uses the full `jsonrpc_core` crate name instead.
  • Loading branch information
dvdplm authored and ordian committed Aug 27, 2019
1 parent b1e3aca commit 505e284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ipfs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions ipfs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 505e284

Please sign in to comment.