chore(deps): cargo update

This commit is contained in:
LGUG2Z committed 2026-10-28 16:24:29 -07:00
1 parent c239607af9
commit 93189eeb15
5 files changed
+1110 -1289

No files matched your search

Generated
+533 -748
View File
File diff suppressed because it is too large. Load diff
-1
View File
@@ -15,7 +15,6 @@ ignore = [
allow = [
"0BSD",
"Apache-2.0",
"Artistic-2.0",
# clipboard-win's error-code, which eframe pulls in on Windows
"BSL-1.0",
"BSD-2-Clause",
+555 -533
View File
File diff suppressed because it is too large. Load diff
+17 -4
View File
@@ -1049,7 +1049,10 @@ mod tests {
assert_eq!(open(&mut app).loaded.ghosts.len(), 1);
let ghost = open(&mut app).loaded.ghosts[0].clone();
assert_eq!((ghost.exe.as_str(), ghost.class.as_str()), ("DDM.exe", "Window"));
assert_eq!(
(ghost.exe.as_str(), ghost.class.as_str()),
("DDM.exe", "Window")
);
assert_eq!(
open(&mut app).ghosts_during(1.5, 3.5),
@@ -1064,7 +1067,11 @@ mod tests {
let form = open(&mut app).rule.as_ref().expect("the form is open");
assert_eq!(form.app, "DDM");
let rule = form.rule().expect("a rule");
assert_eq!(rule.identifiers.len(), 2, "the program and the class together");
assert_eq!(
rule.identifiers.len(),
2,
"the program and the class together"
);
frame(&mut app, &ctx, vec![]);
// a blank name has no rule to send, and sending then does nothing
@@ -1123,10 +1130,16 @@ mod tests {
let form = open(&mut app).rule.take().expect("the form is still open");
let Stage::Done(Outcome::Failed(failure)) = form.stage else {
panic!("it did not fail as it should: done is {}", matches!(form.stage, Stage::Done(_)));
panic!(
"it did not fail as it should: done is {}",
matches!(form.stage, Stage::Done(_))
);
};
assert_eq!(failure.step, "cloning the repository");
assert!(failure.instructions.contains("DDMWindow") || failure.instructions.contains("\"Window\""));
assert!(
failure.instructions.contains("DDMWindow")
|| failure.instructions.contains("\"Window\"")
);
if let Some(kept) = &failure.dir {
let _ = std::fs::remove_dir_all(kept);
}
+5 -3
View File
@@ -25,13 +25,13 @@ use super::app::Tab;
use super::theme;
use crate::analysis::classify::Class;
use crate::analysis::ghost::GhostTile;
use crate::asc::Platform;
use crate::asc::rule::Rule;
use crate::analysis::os_trace::GroupKind;
use crate::analysis::os_trace::OsTraceData;
use crate::analysis::os_trace::Phase;
use crate::analysis::trace::TraceData;
use crate::annotations::Kind;
use crate::asc::Platform;
use crate::asc::rule::Rule;
use crate::timecode;
use eframe::egui;
use eframe::egui::Color32;
@@ -105,7 +105,9 @@ fn ghost_card(ui: &mut egui::Ui, ghost: &GhostTile, wants: &mut Wants) {
wants.propose_rule = Some(ghost.hwnd);
}
} else {
let why = rule.err().map_or_else(String::new, |error| error.to_string());
let why = rule
.err()
.map_or_else(String::new, |error| error.to_string());
ui.label(
RichText::new(format!(
"No rule can be written that catches it and nothing else: {why}."