From 7d870461661f7c18c48966f0b4f443d541cb69ba Mon Sep 17 00:00:00 2001 From: jutty Date: Fri, 12 Dec 2025 04:12:55 -0300 Subject: [PATCH] Minor: Add fmt Bacon job, update a lint name --- Cargo.toml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d5268ba..a76d7b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,11 @@ edition = "2024" rust-version= "1.91.1" [package.metadata.bacon.jobs.fmt-check] -command = [ - "cargo", "fmt", - "--check", - "--", - "--color=always", -] +command = [ "cargo", "fmt", "--check", "--", "--color=always" ] +need_stdout = true + +[package.metadata.bacon.jobs.fmt] +command = [ "cargo", "fmt" ] need_stdout = true [lints.rust] @@ -130,7 +129,7 @@ str_split_at_newline = "warn" struct_excessive_bools = "warn" struct_field_names = "warn" trivially_copy_pass_by_ref = "warn" -unchecked_duration_subtraction = "warn" +unchecked_time_subtraction = "warn" unicode_not_nfc = "warn" uninlined_format_args = "warn" unnecessary_box_returns = "warn"