From 513afc0f5e99de1093245bb4c97a80c1338136b6 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Fri, 1 Mar 2024 05:04:04 -0500 Subject: [PATCH] Enable all features when building docs --- .github/workflows/validation-rust.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validation-rust.yaml b/.github/workflows/validation-rust.yaml index d4d489a9e23f1..06aac4ffe89ed 100644 --- a/.github/workflows/validation-rust.yaml +++ b/.github/workflows/validation-rust.yaml @@ -147,13 +147,13 @@ jobs: - uses: Swatinem/rust-cache@v2 # test docs for everything - name: Test build all docs - run: cargo doc --no-deps + run: cargo doc --no-deps --all-features # create docs for the crates we care about - name: Build docs for publish run: | rm -rf target/doc/ - cargo doc --manifest-path rust/mariadb/Cargo.toml --no-deps - cargo doc --manifest-path rust/mariadb-sys/Cargo.toml --no-deps + cargo doc --manifest-path rust/mariadb/Cargo.toml --no-deps --all-features + cargo doc --manifest-path rust/mariadb-sys/Cargo.toml --no-deps --all-features - run: | echo "$(pwd)/target/doc" >> "$GITHUB_PATH" # fake index.html so github likes us