#!/bin/bash # Source: # First, install nightly toolchain if needed: # rustup install nightly RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open