Skip to content

Commit

Permalink
update to colored 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 22, 2020
1 parent 1207bdd commit 72e776d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
3 changes: 1 addition & 2 deletions src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 72e776d

Please sign in to comment.