#!/usr/bin/env bash set -e # Fail build, if there are any warnings. export RUSTFLAGS="-D warnings" cargo test --verbose && cargo doc