chore: format files
Some checks failed
Rust / build (push) Has been cancelled

This commit is contained in:
Kristofers Solo 2025-09-18 13:45:53 +03:00
parent f997d19ab1
commit 161362fc1f
Signed by: kristoferssolo
GPG Key ID: 74FF8144483D82C8
7 changed files with 9 additions and 11 deletions

View File

@ -16,9 +16,8 @@ jobs:
- name: Check formatting
run: cargo fmt -- --check
- name: Build
run: cargo build --verbose
run: cargo build --release
- name: Run tests
run: cargo test --verbose
run: cargo test
- name: Run clippy
run: cargo clippy -- -D warnings

4
Cargo.lock generated
View File

@ -432,6 +432,8 @@ dependencies = [
[[package]]
name = "filecaster"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc97921cbd5451445637b91a0237b3c9316fa550ea7ff166a40be7ce5afad335"
dependencies = [
"filecaster-derive",
"merge",
@ -441,6 +443,8 @@ dependencies = [
[[package]]
name = "filecaster-derive"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f5c7bc432f529eac3ec2d60812e05c1eae39fde9d7434fe59e64c03c27da882"
dependencies = [
"merge",
"proc-macro-error2",

View File

@ -6,10 +6,7 @@ license = "GPLv3"
edition = "2024"
[dependencies]
filecaster = { version = "0.2", features = [
"derive",
"merge",
], path = "../filecaster/filecaster/" }
filecaster = { version = "0.2", features = ["derive", "merge"] }
color-eyre = "0.6"
crossterm = "0.29"
derive_more = { version = "2.0", features = ["display"] }

View File

@ -43,4 +43,3 @@ mod tests {
assert_eq!(file_size.to_string(), "1.00 GB");
}
}

View File

@ -43,4 +43,3 @@ mod tests {
assert_eq!(net_speed.to_string(), "1.00 GB/s");
}
}

View File

@ -157,4 +157,4 @@ mod tests {
let display = UnitDisplay::new(&unit, &["B", "KB", "MB"]);
assert_eq!(display.to_string(), "512 B");
}
}
}

View File

@ -1,5 +1,5 @@
use ratatui::backend::TestBackend;
use ratatui::Terminal;
use ratatui::backend::TestBackend;
use traxor::event::EventHandler;
use traxor::tui::Tui;