#!/usr/bin/bash # fail fast # set -e # print each command before it's executed # set -x # only works on nightly because of features like doc_cfg and external_doc # cargo +nightly doc --all-features --no-deps cargo +nightly test --all-features --doc