fix weird dependency error
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-06-06 15:08:27 +02:00
parent b32632c48b
commit ba1f30efba
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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
}