util should not reexport ansi_term
This commit is contained in:
@@ -25,7 +25,7 @@ use cli::{Args, ArgsError};
|
||||
use hash::keccak;
|
||||
use util::{H256, U256, Bytes, version_data, Address};
|
||||
use util::journaldb::Algorithm;
|
||||
use util::Colour;
|
||||
use ansi_term::Colour;
|
||||
use ethsync::{NetworkConfiguration, is_valid_node_url};
|
||||
use ethcore::ethstore::ethkey::{Secret, Public};
|
||||
use ethcore::client::{VMType};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
extern crate ansi_term;
|
||||
use self::ansi_term::Colour::{White, Yellow, Green, Cyan, Blue};
|
||||
use self::ansi_term::Style;
|
||||
use self::ansi_term::{Colour, Style};
|
||||
|
||||
use std::sync::{Arc};
|
||||
use std::sync::atomic::{AtomicUsize, AtomicBool, Ordering as AtomicOrdering};
|
||||
@@ -35,7 +35,7 @@ use light::client::LightChainClient;
|
||||
use number_prefix::{binary_prefix, Standalone, Prefixed};
|
||||
use parity_rpc::{is_major_importing};
|
||||
use parity_rpc::informant::RpcStats;
|
||||
use util::{RwLock, Mutex, H256, Colour, Bytes};
|
||||
use util::{RwLock, Mutex, H256, Bytes};
|
||||
|
||||
/// Format byte counts to standard denominations.
|
||||
pub fn format_bytes(b: usize) -> String {
|
||||
|
||||
@@ -37,7 +37,8 @@ use node_health;
|
||||
use parity_reactor::EventLoop;
|
||||
use parity_rpc::{NetworkSettings, informant, is_major_importing};
|
||||
use updater::{UpdatePolicy, Updater};
|
||||
use util::{Colour, version, Mutex, Condvar};
|
||||
use util::{version, Mutex, Condvar};
|
||||
use ansi_term::Colour;
|
||||
use node_filter::NodeFilter;
|
||||
|
||||
use params::{
|
||||
|
||||
Reference in New Issue
Block a user