From 488e9f48da4c8e620bc0d883c468558d42f1dffb Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 8 Jan 2024 13:28:17 -0500 Subject: [PATCH] keyfork: remove env_logger --- Cargo.lock | 38 -------------------------------------- keyfork/Cargo.toml | 1 - keyfork/src/main.rs | 2 -- 3 files changed, 41 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dafef4e..1aab32c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -709,19 +709,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" -[[package]] -name = "env_logger" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -928,12 +915,6 @@ dependencies = [ "digest", ] -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "iana-time-zone" version = "0.1.59" @@ -1061,7 +1042,6 @@ version = "0.1.0" dependencies = [ "card-backend-pcsc", "clap", - "env_logger", "keyfork-derive-openpgp", "keyfork-derive-util", "keyfork-mnemonic-util", @@ -2284,15 +2264,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "termcolor" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" -dependencies = [ - "winapi-util", -] - [[package]] name = "terminal_size" version = "0.3.0" @@ -2636,15 +2607,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -[[package]] -name = "winapi-util" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" -dependencies = [ - "winapi", -] - [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" diff --git a/keyfork/Cargo.toml b/keyfork/Cargo.toml index 143d4cd..939774d 100644 --- a/keyfork/Cargo.toml +++ b/keyfork/Cargo.toml @@ -23,4 +23,3 @@ card-backend-pcsc = "0.5.0" openpgp-card-sequoia = "0.2.0" openpgp-card = "0.4.1" keyfork-prompt = { version = "0.1.0", path = "../keyfork-prompt" } -env_logger = "0.10.1" diff --git a/keyfork/src/main.rs b/keyfork/src/main.rs index 5b21785..2d18b54 100644 --- a/keyfork/src/main.rs +++ b/keyfork/src/main.rs @@ -9,8 +9,6 @@ mod cli; fn main() -> ExitCode { let opts = cli::Keyfork::parse(); - env_logger::init(); - if let Err(e) = opts.command .handle(&opts) { println!("Unable to run command: {e}"); let mut source = e.source();