mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 17:07:44 +03:00
remove unused env_logger crate
This commit is contained in:
parent
fbf923adb9
commit
8702ac12d7
10
Cargo.lock
generated
10
Cargo.lock
generated
@ -181,15 +181,6 @@ version = "0.3.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
||||
|
||||
[[package]]
|
||||
name = "env_logger"
|
||||
version = "0.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f26ecb66b4bdca6c1409b40fb255eefc2bd4f6d135dab3c3124f80ffa2a9661e"
|
||||
dependencies = [
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "filetime"
|
||||
version = "0.2.14"
|
||||
@ -350,7 +341,6 @@ dependencies = [
|
||||
"anyhow",
|
||||
"console",
|
||||
"either",
|
||||
"env_logger",
|
||||
"filetime",
|
||||
"glob",
|
||||
"hex",
|
||||
|
@ -10,7 +10,6 @@ edition = "2018"
|
||||
anyhow = "1.0"
|
||||
console = "0.13"
|
||||
either = "1.6.1"
|
||||
env_logger = { version = "0.8", default-features = false }
|
||||
filetime = "0.2"
|
||||
glob = "0.3"
|
||||
hex = "0.4"
|
||||
|
@ -5,7 +5,7 @@ final: prev:
|
||||
pname = "prjfmt";
|
||||
version = "0.0.1";
|
||||
src = ./.;
|
||||
cargoSha256 = "1n9wzbv6nc5sh2l0j1xfb2z65ql2krqw2ba9s7krlfhsbdkndwrr";
|
||||
cargoSha256 = "0q7f596yvzbsg3g8x47cazfrfpa4j3310z14mz1w6i2xjvmadgx6";
|
||||
doCheck = false;
|
||||
nativeBuildInputs = [ ];
|
||||
buildInputs = [ ];
|
||||
|
@ -4,7 +4,6 @@ use prjfmt::{run_cli, Cli, CLOG};
|
||||
use structopt::StructOpt;
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
if let Err(e) = run() {
|
||||
CLOG.error(&format!("{}", e));
|
||||
::std::process::exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user