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 }