diff --git a/Cargo.toml b/Cargo.toml index f36e091..92707bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,8 +31,8 @@ pre-release-replacements = [ ] [features] -color = ["yansi", "concolor-control/std", "predicates/color"] -color-auto = ["color", "concolor-control/auto"] +color = ["yansi", "concolor/std", "predicates/color"] +color-auto = ["color", "concolor/auto"] [[bin]] name = "bin_fixture" @@ -45,7 +45,7 @@ doc-comment = "0.3" wait-timeout = "0.2.0" bstr = "0.2.14" yansi = { version = "0.5.0", optional = true } -concolor-control = { version = "0.0.7", optional = true } +concolor = { version = "0.0.8", optional = true } [dev-dependencies] escargot = "0.5" diff --git a/src/color.rs b/src/color.rs index 92d6736..3a9b96d 100644 --- a/src/color.rs +++ b/src/color.rs @@ -7,7 +7,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 { key: styled::Style(yansi::Style::new(yansi::Color::Blue).bold()), value: styled::Style(yansi::Style::new(yansi::Color::Yellow).bold()),