Derive IPC interface only when ipc feature is on (#2463)

* derive -> ipc

* accident repair

* conditional ipc deriving

* fix test
This commit is contained in:
Nikolay Volf
2016-10-05 20:42:57 +03:00
committed by Gav Wood
parent eae2466107
commit 7526b1d44b
10 changed files with 73 additions and 17 deletions

View File

@@ -16,4 +16,5 @@
pub mod helpers;
mod client;
#[cfg(feature="ipc")]
mod rpc;

View File

@@ -19,7 +19,8 @@
use nanoipc;
use std::sync::Arc;
use std::sync::atomic::{Ordering, AtomicBool};
use client::{Client, BlockChainClient, ClientConfig, RemoteClient, BlockID};
use client::{Client, BlockChainClient, ClientConfig, BlockID};
use client::remote::RemoteClient;
use tests::helpers::*;
use devtools::*;
use miner::Miner;