#!/bin/bash
set -e
cd "${BASH_SOURCE%/*}"/..

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
