Skip to content

Commit

Permalink
Merge pull request #170 from epage/anstream
Browse files Browse the repository at this point in the history
chore: Update anstyle/anstream
  • Loading branch information
epage committed Apr 13, 2023
2 parents c6d3495 + a45fc3b commit b9bd51b
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 43 deletions.
144 changes: 105 additions & 39 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ predicates-tree = "1.0.1"
doc-comment = "0.3"
wait-timeout = "0.2.0"
bstr = "1.0.1"
anstream = { version = "0.2.2", optional = true }
anstyle = "0.3.1"
anstream = { version = "0.3.0", optional = true }
anstyle = "1.0.0"

[dev-dependencies]
escargot = "0.5"
4 changes: 2 additions & 2 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ impl Palette {
pub(crate) fn color() -> Self {
if cfg!(feature = "color") {
Self {
key: anstyle::AnsiColor::Blue | anstyle::Effects::BOLD,
value: anstyle::AnsiColor::Yellow | anstyle::Effects::BOLD,
key: anstyle::AnsiColor::Blue.on_default() | anstyle::Effects::BOLD,
value: anstyle::AnsiColor::Yellow.on_default() | anstyle::Effects::BOLD,
}
} else {
Self::plain()
Expand Down

0 comments on commit b9bd51b

Please sign in to comment.