#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$ROOT_DIR"

cargo fmt --check --all
cargo clippy --all-targets --all-features --color=never -- -D warnings
