chore: update dependencies, use workspace deps

This commit is contained in:
ThetaDev 2024-03-22 00:24:35 +01:00
parent 0111f14646
commit cfcf8ffb0e
6 changed files with 99 additions and 67 deletions

View file

@ -29,16 +29,14 @@ rustls-tls-native-roots = [
]
[dependencies]
rustypipe = { path = "..", default-features = false }
once_cell = "1.12.0"
regex = "1.6.0"
thiserror = "1.0.36"
futures = "0.3.21"
indicatif = "0.17.0"
filenamify = "0.1.0"
log = "0.4.17"
reqwest = { version = "0.11.11", default-features = false, features = [
"stream",
] }
rand = "0.8.5"
tokio = { version = "1.20.0", features = ["macros", "fs", "process"] }
rustypipe = { path = "../", default-features = false }
once_cell.workspace = true
regex.workspace = true
thiserror.workspace = true
futures.workspace = true
reqwest = { workspace = true, features = ["stream"] }
rand.workspace = true
tokio = { workspace = true, features = ["macros", "fs", "process"] }
indicatif.workspace = true
filenamify.workspace = true
tracing.workspace = true

View file

@ -8,7 +8,6 @@ use std::{borrow::Cow, cmp::Ordering, ffi::OsString, ops::Range, path::PathBuf,
use futures::stream::{self, StreamExt};
use indicatif::{ProgressBar, ProgressStyle};
use log::{debug, info};
use once_cell::sync::Lazy;
use rand::Rng;
use regex::Regex;
@ -22,6 +21,7 @@ use tokio::{
io::AsyncWriteExt,
process::Command,
};
use tracing::{debug, info};
use util::DownloadError;