Skip to content

Commit

Permalink
chore: Upgrade concolor
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jan 11, 2022
1 parent ff2cd53 commit c445bb1
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 @@ -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"
Expand All @@ -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"
2 changes: 1 addition & 1 deletion src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit c445bb1

Please sign in to comment.