Skip to content

Commit 631afd0

Browse files
committed
fix: warnings should be output to stderr instead of stdout (sxyazi#1669)
1 parent 1a1820c commit 631afd0

File tree

143 files changed

+266
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+266
-280
lines changed

Diff for: Cargo.lock

+50-64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ strip = true
1111

1212
[workspace.dependencies]
1313
ansi-to-tui = "6.0.0"
14-
anyhow = "1.0.88"
14+
anyhow = "1.0.89"
1515
arc-swap = "1.7.1"
1616
base64 = "0.22.1"
1717
bitflags = "2.6.0"
18-
clap = { version = "4.5.17", features = [ "derive" ] }
18+
clap = { version = "4.5.18", features = [ "derive" ] }
1919
crossterm = { version = "0.28.1", features = [ "event-stream" ] }
2020
dirs = "5.0.1"
2121
futures = "0.3.30"
@@ -34,5 +34,5 @@ tokio = { version = "1.40.0", features = [ "full" ] }
3434
tokio-stream = "0.1.16"
3535
tokio-util = "0.7.12"
3636
tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] }
37-
unicode-width = "0.1.13"
37+
unicode-width = "0.1.14"
3838
uzers = "0.12.1"

Diff for: rustfmt.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
color = "Never"
22
condense_wildcard_suffixes = true
3-
edition = "2021"
3+
edition = "2024"
44
enum_discrim_align_threshold = 99
55
fn_single_line = true
66
format_code_in_doc_comments = false
@@ -10,7 +10,7 @@ format_macro_bodies = true
1010
format_strings = false
1111
hard_tabs = true
1212
hex_literal_case = "Lower"
13-
hide_parse_errors = true
13+
show_parse_errors = false
1414
imports_indent = "Visual"
1515
imports_layout = "Horizontal"
1616
imports_granularity = "Crate"
@@ -27,5 +27,5 @@ unstable_features = true
2727
use_field_init_shorthand = true
2828
use_small_heuristics = "Max"
2929
use_try_shorthand = true
30-
version = "Two"
30+
style_edition = "2024"
3131
wrap_comments = true

Diff for: yazi-adapter/src/adapter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use tracing::warn;
66
use yazi_shared::env_exists;
77

88
use super::{Iip, Kitty, KittyOld};
9-
use crate::{Chafa, Emulator, Sixel, Ueberzug, SHOWN, TMUX, WSL};
9+
use crate::{Chafa, Emulator, SHOWN, Sixel, TMUX, Ueberzug, WSL};
1010

1111
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
1212
pub enum Adapter {

Diff for: yazi-adapter/src/chafa.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{io::Write, path::Path, process::Stdio};
22

33
use ansi_to_tui::IntoText;
4-
use anyhow::{bail, Result};
4+
use anyhow::{Result, bail};
55
use crossterm::{cursor::MoveTo, queue};
66
use ratatui::layout::Rect;
77
use tokio::process::Command;

0 commit comments

Comments
 (0)