#!/usr/bin/env bash

set -e

cargo +nightly fmt --all -- --check
cargo +nightly clippy --all-targets --all-features -- -D warnings