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"
|
rust-version= "1.91.1"
|
||||||
|
|
||||||
[package.metadata.bacon.jobs.fmt-check]
|
[package.metadata.bacon.jobs.fmt-check]
|
||||||
command = [
|
command = [ "cargo", "fmt", "--check", "--", "--color=always" ]
|
||||||
"cargo", "fmt",
|
need_stdout = true
|
||||||
"--check",
|
|
||||||
"--",
|
[package.metadata.bacon.jobs.fmt]
|
||||||
"--color=always",
|
command = [ "cargo", "fmt" ]
|
||||||
]
|
|
||||||
need_stdout = true
|
need_stdout = true
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
|
|
@ -130,7 +129,7 @@ str_split_at_newline = "warn"
|
||||||
struct_excessive_bools = "warn"
|
struct_excessive_bools = "warn"
|
||||||
struct_field_names = "warn"
|
struct_field_names = "warn"
|
||||||
trivially_copy_pass_by_ref = "warn"
|
trivially_copy_pass_by_ref = "warn"
|
||||||
unchecked_duration_subtraction = "warn"
|
unchecked_time_subtraction = "warn"
|
||||||
unicode_not_nfc = "warn"
|
unicode_not_nfc = "warn"
|
||||||
uninlined_format_args = "warn"
|
uninlined_format_args = "warn"
|
||||||
unnecessary_box_returns = "warn"
|
unnecessary_box_returns = "warn"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue