Skip to content

Commit 2bd7152

Browse files
committed
chore: Update dependencies
1 parent 1771145 commit 2bd7152

File tree

3 files changed

+45
-30
lines changed

3 files changed

+45
-30
lines changed

Cargo.lock

Lines changed: 38 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ anyhow = "1.0.70"
4242
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "regex-onig"] }
4343
terminal_size = "0.2.6"
4444
textwrap = "0.16.0"
45-
anstyle = "0.3.5"
46-
anstream = "0.2.6"
45+
anstyle = "1.0.0"
46+
anstream = "0.3.0"
4747
is-terminal = "0.4.6"
4848
content_inspector = "0.2.4"
4949
git-config-env = "0.1.5"
5050
shlex = "1.1.0"
51-
anstyle-syntect = "0.2.0"
51+
anstyle-syntect = "1.0.0"
5252
bincode = "1.3.3"
5353
serde = { version = "1.0.159", features = ["derive"] }
5454
flate2 = "1.0.25"

src/logger.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ struct Palette {
5555
impl Palette {
5656
pub fn colored() -> Self {
5757
Self {
58-
error: anstyle::AnsiColor::Red | anstyle::Effects::BOLD,
59-
warn: anstyle::AnsiColor::Yellow.into(),
60-
debug: anstyle::AnsiColor::Blue.into(),
61-
trace: anstyle::AnsiColor::Cyan.into(),
58+
error: anstyle::AnsiColor::Red.on_default() | anstyle::Effects::BOLD,
59+
warn: anstyle::AnsiColor::Yellow.on_default(),
60+
debug: anstyle::AnsiColor::Blue.on_default(),
61+
trace: anstyle::AnsiColor::Cyan.on_default(),
6262
}
6363
}
6464

0 commit comments

Comments
 (0)