From bf2b9c6d0875bd4828059e4c595f0eeefdaa9065 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 26 Apr 2024 08:34:13 +0200 Subject: [PATCH] bump libpt --- Cargo.toml | 2 +- src/config/cli.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }