#!/usr/bin/env bash
set -e

echo "→ cargo fmt --check"
cargo fmt --check

echo "→ cargo clippy"
cargo clippy --all-targets -- -D warnings
