diff --git a/Cargo.toml b/Cargo.toml index 091e5b0..c3733db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ clap-verbosity-flag = "2.1.2" forgejo-api = "0.1.0" futures = "0.3.30" git2 = "0.18.1" -libpt = { version = "0.3.11", features = ["log"] } +libpt = { version = "0.4.2", features = ["log"] } reqwest = "0.11.24" serde = { version = "1.0.195", features = ["derive"] } serde_json = "1.0.116" diff --git a/src/config/cli.rs b/src/config/cli.rs index 6b26337..351c984 100644 --- a/src/config/cli.rs +++ b/src/config/cli.rs @@ -110,10 +110,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 }