From 403b4c4a5b75225b609443751982fed43f0588dc Mon Sep 17 00:00:00 2001 From: novacrazy Date: Tue, 12 Sep 2023 19:15:09 -0500 Subject: [PATCH] Attempt to build docs with docs.rs features --- .github/workflows/CI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: |