#!/bin/bash
set -eux -o pipefail

cargo fmt -- --check
cargo build
cargo test
#!/bin/bash
set -eux -o pipefail

cargo fmt --version || rustup component add rustfmt
cargo fmt -- --check
cargo build
cargo test
Install cargo fmt if missing
Install cargo fmt if missing
