From 986b663fe4540f07bb49f52ea7dceb7895b4a3a1 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Thu, 8 Jun 2023 00:49:15 +0200 Subject: [PATCH] refactor: enable crate docsrs config [skip ci] --- .github/workflows/release.crate.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.crate.yml b/.github/workflows/release.crate.yml index 010d210..60c1d2a 100644 --- a/.github/workflows/release.crate.yml +++ b/.github/workflows/release.crate.yml @@ -33,7 +33,9 @@ jobs: uses: dtolnay/rust-toolchain@nightly - name: Publish workspace packages - run: | - cargo publish -p static-web-server env: CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }} + RUSTFLAGS: "--cfg docsrs" + RUSTDOCFLAGS: "--cfg docsrs" + run: | + cargo publish -p static-web-server --all-features -- libgit2 1.7.2