[tools]
cargo-release = "latest"
cocogitto = "6.5.0"
cmake = "latest"
fd = "latest"
[tasks.copy-compile-commands]
description = "Copy the C++ compilation database into simdjson-sys"
run = "fd -IH compile_commands target/ -x cp {} simdjson-sys/"
[tasks.bench]
description = "Run parser benchmarks tuned for the local CPU"
run = "cargo bench --bench parser_bench --features native"
[tasks.setup-hooks]
description = "Install the local commit message validation hook"
run = "cog install-hook commit-msg"
[tasks.check-commits]
description = "Validate commits made after Conventional Commits was introduced"
run = "cog check conventional-commits-start..HEAD"
[tasks.release-check]
description = "Verify features, documentation and both release packages without uploading"
run = [
"cargo test --workspace --all-targets --all-features",
"cargo test --workspace --all-targets --no-default-features",
"cargo test --workspace --doc",
"cargo doc --workspace --no-deps",
"cargo publish --dry-run --workspace",
]