mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-21 21:43:40 +00:00
remove _colored_ crate
This commit is contained in:
11
Cargo.lock
generated
11
Cargo.lock
generated
@@ -289,16 +289,6 @@ version = "1.0.1"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
|
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "colored"
|
|
||||||
version = "2.1.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
|
|
||||||
dependencies = [
|
|
||||||
"lazy_static",
|
|
||||||
"windows-sys 0.48.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "config"
|
name = "config"
|
||||||
version = "0.14.0"
|
version = "0.14.0"
|
||||||
@@ -818,7 +808,6 @@ version = "0.1.5"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"chrono",
|
"chrono",
|
||||||
"colored",
|
|
||||||
"config",
|
"config",
|
||||||
"either",
|
"either",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
|
@@ -11,7 +11,6 @@ serde = {version = "1.0.198", features = ["derive"]}
|
|||||||
serde_json = "1.0.111"
|
serde_json = "1.0.111"
|
||||||
num-format = "0.4.4"
|
num-format = "0.4.4"
|
||||||
fs_extra = "1.3.0"
|
fs_extra = "1.3.0"
|
||||||
colored = "2.1.0"
|
|
||||||
humantime = "2.1.0"
|
humantime = "2.1.0"
|
||||||
chrono = "0.4.37"
|
chrono = "0.4.37"
|
||||||
futures = "0.3.30"
|
futures = "0.3.30"
|
||||||
|
@@ -3,7 +3,6 @@ use serde_json::Value;
|
|||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
use num_format::{Locale, ToFormattedString};
|
use num_format::{Locale, ToFormattedString};
|
||||||
use fs_extra::dir::get_size;
|
use fs_extra::dir::get_size;
|
||||||
use colored::Colorize;
|
|
||||||
use humantime::format_duration;
|
use humantime::format_duration;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use chrono::{Utc, DateTime};
|
use chrono::{Utc, DateTime};
|
||||||
@@ -40,7 +39,7 @@ lazy_static! {
|
|||||||
"grin_dir" => cfg.grin_dir = value,
|
"grin_dir" => cfg.grin_dir = value,
|
||||||
"coingecko_api" => cfg.coingecko_api = value,
|
"coingecko_api" => cfg.coingecko_api = value,
|
||||||
"public_api" => cfg.public_api = value,
|
"public_api" => cfg.public_api = value,
|
||||||
_ => println!("{} Unknown config setting '{}'.", "[ ERROR ]".red(), name),
|
_ => error!("unknown config setting '{}'.", name),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user