Dependency bump

This commit is contained in:
Matteo Paonessa 2024-05-18 13:57:15 +02:00
parent f37fda45e2
commit 3b63984d85
4 changed files with 467 additions and 371 deletions

817
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package]
name = "caesiumclt"
version = "0.19.1"
version = "0.20.0"
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
edition = "2021"
@ -8,10 +8,10 @@ edition = "2021"
[dependencies]
structopt = "0.3"
indicatif = "0.17"
walkdir = "2.3"
num_cpus = "1.13"
infer = "0.13"
rayon = "1.5"
walkdir = "2.5"
num_cpus = "1.16"
infer = "0.15"
rayon = "1.10"
rand = "0.8"
human_bytes = { version = "0.4", default-features = false }
libcaesium = { git = "https://github.com/Lymphatus/libcaesium", tag = "0.10.2" }
libcaesium = { git = "https://github.com/Lymphatus/libcaesium", tag = "0.15.4" }

View File

@ -52,8 +52,6 @@ fn main() {
}
}
let (base_path, files) = scanfiles::scanfiles(args, opt.recursive);
let mut compression_parameters = caesium::initialize_parameters();

View File

@ -98,12 +98,9 @@ fn compute_base_folder(base_folder: &Path, new_path: &Path) -> PathBuf {
fn init_progress_bar() -> ProgressBar {
let progress_bar = ProgressBar::new_spinner();
let style = match ProgressStyle::default_spinner()
let style = ProgressStyle::default_spinner()
.tick_strings(&["", "", "", "", "", "", "", "", "", ""])
.template("{spinner:.cyan} {msg}") {
Ok(s) => s,
Err(_) => ProgressStyle::default_spinner()
};
.template("{spinner:.cyan} {msg}").unwrap_or_else(|_| ProgressStyle::default_spinner());
progress_bar.set_message("Collecting files...");
progress_bar.enable_steady_tick(Duration::from_millis(80));