diff --git a/.github/workflows/rust-compile.yml b/.github/workflows/rust-compile.yml index 1ad11f08..2aa78515 100644 --- a/.github/workflows/rust-compile.yml +++ b/.github/workflows/rust-compile.yml @@ -24,7 +24,7 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: | for package in $(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | .name'); do - cargo rustdoc -p "$package" --all-features -- -D warnings -W unreachable-pub + cargo rustdoc -p "$package" --all-features --lib -- -D warnings -W unreachable-pub done format_and_lint: