From ba1f30efbaffd0ba670c5e4790cdca9ec7a7be62 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 6 Jun 2024 15:08:27 +0200 Subject: [PATCH] fix weird dependency error --- Cargo.toml | 2 +- src/common/args.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 47553a9..0145d3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ clap-num = "1.0.2" clap-verbosity-flag = "2.1.2" libpt = { version = "0.3.11", features = ["net"] } thiserror = "1.0.56" -tokio = { version = "1.35.1", features = ["net", "rt", "macros"] } +tokio = { version = "1.35.1", features = ["net", "rt", "macros", "rt-multi-thread"] } rustls-pemfile = "2.0.0" tokio-rustls = "0.25.0" webpki-roots = "0.26.0" diff --git a/src/common/args.rs b/src/common/args.rs index efc7903..06a929c 100644 --- a/src/common/args.rs +++ b/src/common/args.rs @@ -74,10 +74,10 @@ impl Cli { } }; if cli.meta { - Logger::init(None, Some(ll), true).expect("could not initialize Logger"); + Logger::build(None, Some(ll), true).expect("could not initialize Logger"); } else { // less verbose version - Logger::init_mini(Some(ll)).expect("could not initialize Logger"); + Logger::build_mini(Some(ll)).expect("could not initialize Logger"); } cli }