Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 38dde6f

Browse files
committed
Add Makefile.toml
1 parent b896104 commit 38dde6f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Makefile.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Use cargo-make to run tasks here: https://crates.io/crates/cargo-make
2+
3+
[tasks.format]
4+
workspace = false
5+
command = "cargo"
6+
args = [
7+
"fmt",
8+
"--all",
9+
"--",
10+
"--config",
11+
"unstable_features=true",
12+
"--config",
13+
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true",
14+
]
15+
16+
[tasks.format-check]
17+
workspace = false
18+
command = "cargo"
19+
args = [
20+
"fmt",
21+
"--all",
22+
"--check",
23+
"--",
24+
"--config",
25+
"unstable_features=true",
26+
"--config",
27+
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true",
28+
]

0 commit comments

Comments
 (0)