Repository navigation
Expand file tree
/
Copy pathMakefile.toml
More file actions
72 lines (63 loc) · 1.82 KB
/
Copy pathMakefile.toml
File metadata and controls
72 lines (63 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Use cargo-make to run tasks here: https://crates.io/crates/cargo-make
[tasks.format]
workspace = false
command = "cargo"
args = [
"fmt",
"--all",
"--",
"--config",
"unstable_features=true",
"--config",
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true,format_code_in_doc_comments=true",
]
[tasks.format-check]
workspace = false
command = "cargo"
args = [
"fmt",
"--all",
"--check",
"--",
"--config",
"unstable_features=true",
"--config",
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true,format_code_in_doc_comments=true",
]
[tasks.check]
workspace = false
command = "cargo"
args = ["check", "--all-features", "--all-targets"]
[tasks.clippy]
workspace = false
description = "Run clippy over the all, none, and default feature variants"
dependencies = [
"clippy-all-features",
"clippy-no-features",
"clippy-default-features",
]
[tasks.clippy-all-features]
workspace = false
command = "cargo"
args = ["clippy", "--all-features", "--all-targets", "--", "-Dwarnings"]
[tasks.clippy-no-features]
workspace = false
command = "cargo"
args = ["clippy", "--no-default-features", "--lib", "--bins", "--tests", "--", "-Dwarnings"]
[tasks.clippy-default-features]
workspace = false
command = "cargo"
args = ["clippy", "--all-targets", "--", "-Dwarnings"]
[tasks.test]
workspace = false
command = "cargo"
args = ["test", "--all-features"]
[tasks.check-external-types]
description = "Run cargo check-external-types on the public API"
workspace = false
# cargo check-external-types needs a specific nightly toolchain,
# see https://github.com/awslabs/cargo-check-external-types#how-to-use
toolchain = "${TOOLCHAIN:nightly-2026-03-20}"
command = "cargo"
install_crate = false
args = ["check-external-types", "--all-features"]