# This command builds the project, including all targets, and generates the documentation.
build: check
cargo build --all-targets
cargo doc
# This command checks the licenses of all dependencies, formats the code, and runs the Clippy linter.
check:
cargo deny --all-features check licenses
cargo fmt --all -- --check
cargo clippy --all --all-targets
# This command runs the tests with backtrace enabled.
test: check
RUST_BACKTRACE=1 cargo test