Skip to content

Commit 60da003

Browse files
committed
ci: add docsrs cfg option
1 parent d8cd5ce commit 60da003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: cargo doc -p axum-extra
4343
run: cargo doc --package axum-extra --all-features --no-deps
4444
env:
45-
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
45+
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests --cfg docsrs"
4646

4747
cargo-hack:
4848
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)