default_job = "ci-all"
env.CARGO_TERM_COLOR = "always"
[jobs.check]
command = ["cargo", "check"]
[jobs.ci-all]
command = [
"sh", "-c",
"cargo +nightly fmt --all -- --check && cargo +nightly clippy --all-targets --all-features -- -D warnings && cargo +nightly test --all-features --workspace",
]
need_stdout = true
[jobs.check-all]
command = ["cargo", "check", "--all-targets"]
need_stdout = false
[jobs.fmt-check]
command = ["cargo", "+nightly", "fmt", "--all", "--", "--check"]
need_stdout = false
[jobs.clippy]
command = ["cargo", "clippy"]
need_stdout = true
[jobs.clippy-all]
command = ["cargo", "clippy", "--all-targets"]
need_stdout = true
[jobs.clippy-ci]
command = [
"cargo", "+nightly", "clippy",
"--all-targets", "--all-features",
"--",
"-D", "warnings",
]
need_stdout = true
[jobs.test]
command = ["cargo", "test"]
need_stdout = true
[jobs.test-all]
command = ["cargo", "+nightly", "test", "--all-features", "--workspace"]
need_stdout = true
[jobs.nextest]
command = [
"cargo", "nextest", "run",
"--hide-progress-bar", "--failure-output", "final"
]
need_stdout = true
analyzer = "nextest"
[jobs.doc]
command = ["cargo", "doc", "--no-deps"]
need_stdout = false
[jobs.doc-open]
command = ["cargo", "doc", "--no-deps", "--open"]
on_success = "back"
allow_warnings = true
background = true
[keybindings]
c = "job:clippy-all"
[jobs.check-win]
command = ["cargo", "check", "--target", "x86_64-pc-windows-gnu"]