documentation check with cargo-docs-rs (#23)

This commit is contained in:
Charles Edward Gagnon 2024-08-18 03:28:39 -04:00 committed by GitHub
parent 799c99e0cf
commit 5ed5ed26c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,10 +84,10 @@ jobs:
submodules: true
- name: Install nightly
uses: dtolnay/rust-toolchain@nightly
- name: cargo doc
run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: --cfg docsrs
- name: Install cargo-docs-rs
uses: dtolnay/install@cargo-docs-rs
- name: cargo docs-rs
run: cargo docs-rs
hack:
# cargo-hack checks combinations of feature flags to ensure that features are all additive
# which is required for feature unification