Minor: Add fmt Bacon job, update a lint name
This commit is contained in:
parent
20bd1db1b7
commit
7d87046166
1 changed files with 6 additions and 7 deletions
13
Cargo.toml
13
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue