diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2db6b4ba1..88f57c235 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,10 +34,12 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@nightly - name: Build documentation - run: cargo doc --all-features + run: | + echo "RUSTDOCFLAGS='--cfg docsrs'" >> $GITHUB_ENV + cargo doc --features "serde zeroize const-default alloc" - name: Finalize documentation run: |