Skip to content

Commit

Permalink
fix: Upgrade concolor
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jan 11, 2022
1 parent 4c232e6 commit 64bbb12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ regex = { version="1.0", optional = true }
float-cmp = { version="0.9", optional = true }
itertools = "0.10"
yansi = { version = "0.5.0", optional = true }
concolor-control = { version = "0.0.7", optional = true }
concolor = { version = "0.0.8", optional = true }

[dev-dependencies]
predicates-tree = { version = "1.0", path = "crates/tree" }
Expand All @@ -50,5 +50,5 @@ predicates-tree = { version = "1.0", path = "crates/tree" }
default = ["diff", "regex", "float-cmp", "normalize-line-endings"]
diff = ["difflib"]
unstable = []
color = ["yansi", "concolor-control/std"]
color-auto = ["color", "concolor-control/auto"]
color = ["yansi", "concolor/std"]
color-auto = ["color", "concolor/auto"]
2 changes: 1 addition & 1 deletion src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub(crate) struct Palette {
impl Palette {
#[cfg(feature = "color")]
pub(crate) fn current() -> Self {
if concolor_control::get(concolor_control::Stream::Either).ansi_color() {
if concolor::get(concolor::Stream::Either).ansi_color() {
Self {
description: styled::Style(yansi::Style::new(yansi::Color::Blue).bold()),
var: styled::Style(yansi::Style::new(yansi::Color::Red).bold()),
Expand Down

0 comments on commit 64bbb12

Please sign in to comment.