diff options
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/aggregate.rs | 3 |
3 files changed, 4 insertions, 5 deletions
@@ -91,9 +91,9 @@ dependencies = [ [[package]] name = "colored" -version = "1.9.3" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" +checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd" dependencies = [ "atty", "lazy_static", @@ -26,7 +26,7 @@ itertools = "0.9.0" num_cpus = "1.10.0" filesize = "0.2.0" anyhow = "1.0.31" -colored = "1.9.3" +colored = "2.0.0" # 'tui' related unicode-segmentation = { version = "1.3.0", optional = true } diff --git a/src/aggregate.rs b/src/aggregate.rs index 8d16047..044f8e0 100644 --- a/src/aggregate.rs +++ b/src/aggregate.rs @@ -2,8 +2,7 @@ use crate::{crossdev, InodeFilter, WalkOptions, WalkResult}; use anyhow::Result; use colored::{Color, Colorize}; use filesize::PathExt; -use std::borrow::Cow; -use std::{io, path::Path}; +use std::{borrow::Cow, io, path::Path}; /// Aggregate the given `paths` and write information about them to `out` in a human-readable format. /// If `compute_total` is set, it will write an additional line with the total size across all given `paths`. |