[tasks.format]
description = "Format code"
command = "cargo"
args = ["fmt", "--all"]
[tasks.format-check]
description = "Check code formatting"
command = "cargo"
args = ["fmt", "--all", "--", "--check"]
[tasks.lint]
description = "Run clippy"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--workspace", "--", "-D", "warnings"]
[tasks.test]
description = "Run tests"
command = "cargo"
args = ["test", "--all-features", "--workspace"]
[tasks.check]
description = "Run all checks (format, lint, test)"
dependencies = ["format-check", "lint", "test"]
[tasks.fix]
description = "Auto-fix formatting and run checks"
dependencies = ["format", "lint", "test"]