diff --git a/Cargo.toml b/Cargo.toml index 686ad43..316dbcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" [dependencies] backup-config = {version = "0.1.1", git = "https://github.com/OMGeeky/backup_config.git" } -local-db = {version = "0.1", git = "https://github.com/OMGeeky/twitch_backup.local_db.git"} -reqwest-backoff = {version = "0.1", git = "https://github.com/OMGeeky/twba_reqwest_backoff.git"} +local-db = {version = "0.2", git = "https://github.com/OMGeeky/twitch_backup.local_db.git"} +twba-reqwest-backoff = {version = "0.1", git = "https://github.com/OMGeeky/twba_reqwest_backoff.git"} tracing-subscriber = "0.3" @@ -19,7 +19,7 @@ thiserror = "1.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -reqwest = "0.11" +reqwest = "0.12.4" chrono = "0.4" futures = "0.3" futures-util = "0.3" diff --git a/src/errors.rs b/src/errors.rs index 0c2ae67..9d4929f 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,4 +1,4 @@ -use reqwest_backoff::ReqwestBackoffError; +use twba_reqwest_backoff::ReqwestBackoffError; use std::path::PathBuf; #[derive(Debug, thiserror::Error)] diff --git a/src/twitch/mod.rs b/src/twitch/mod.rs index ae6ccf5..eb48cf9 100644 --- a/src/twitch/mod.rs +++ b/src/twitch/mod.rs @@ -1,5 +1,5 @@ use futures_util::{StreamExt, TryStreamExt}; -use reqwest_backoff::ReqwestClient; +use twba_reqwest_backoff::ReqwestClient; use serde_json::json; use std::collections::HashMap; use std::fmt::Debug; @@ -111,7 +111,6 @@ impl TwitchClient { let it = parts .into_iter() .map(|part| { - let folder_path = folder_path.clone(); let client = self.client.clone(); let url = base_url.clone(); async move {