Dependency bump
This commit is contained in:
parent
f37fda45e2
commit
3b63984d85
File diff suppressed because it is too large
Load Diff
12
Cargo.toml
12
Cargo.toml
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "caesiumclt"
|
name = "caesiumclt"
|
||||||
version = "0.19.1"
|
version = "0.20.0"
|
||||||
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
|
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
indicatif = "0.17"
|
indicatif = "0.17"
|
||||||
walkdir = "2.3"
|
walkdir = "2.5"
|
||||||
num_cpus = "1.13"
|
num_cpus = "1.16"
|
||||||
infer = "0.13"
|
infer = "0.15"
|
||||||
rayon = "1.5"
|
rayon = "1.10"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
human_bytes = { version = "0.4", default-features = false }
|
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" }
|
|
@ -52,8 +52,6 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let (base_path, files) = scanfiles::scanfiles(args, opt.recursive);
|
let (base_path, files) = scanfiles::scanfiles(args, opt.recursive);
|
||||||
|
|
||||||
let mut compression_parameters = caesium::initialize_parameters();
|
let mut compression_parameters = caesium::initialize_parameters();
|
||||||
|
|
|
@ -98,12 +98,9 @@ fn compute_base_folder(base_folder: &Path, new_path: &Path) -> PathBuf {
|
||||||
|
|
||||||
fn init_progress_bar() -> ProgressBar {
|
fn init_progress_bar() -> ProgressBar {
|
||||||
let progress_bar = ProgressBar::new_spinner();
|
let progress_bar = ProgressBar::new_spinner();
|
||||||
let style = match ProgressStyle::default_spinner()
|
let style = ProgressStyle::default_spinner()
|
||||||
.tick_strings(&["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"])
|
.tick_strings(&["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"])
|
||||||
.template("{spinner:.cyan} {msg}") {
|
.template("{spinner:.cyan} {msg}").unwrap_or_else(|_| ProgressStyle::default_spinner());
|
||||||
Ok(s) => s,
|
|
||||||
Err(_) => ProgressStyle::default_spinner()
|
|
||||||
};
|
|
||||||
|
|
||||||
progress_bar.set_message("Collecting files...");
|
progress_bar.set_message("Collecting files...");
|
||||||
progress_bar.enable_steady_tick(Duration::from_millis(80));
|
progress_bar.enable_steady_tick(Duration::from_millis(80));
|
||||||
|
|
Loading…
Reference in New Issue