mirror of
https://github.com/OMGeeky/twba_downloader.git
synced 2025-12-26 16:27:25 +01:00
update deps
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use reqwest_backoff::ReqwestBackoffError;
|
||||
use twba_reqwest_backoff::ReqwestBackoffError;
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user