1 2 3 4 5
#!/bin/bash set -e cd "${BASH_SOURCE%/*}"/.. RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features