Include the experimental-inspect feature for the docs.rs build thereby making it equivalent to a full build.

This commit is contained in:
Adam Reichold 2024-01-02 18:55:13 +01:00 committed by David Hewitt
parent c1c62f1f3c
commit 68240e16a7
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
- run: cargo rustdoc --lib --no-default-features --features "macros num-bigint num-complex hashbrown serde multiple-pymethods indexmap eyre either chrono rust_decimal" -Zunstable-options --config "build.rustdocflags=[\"--cfg\", \"docsrs\"]"
- run: cargo rustdoc --lib --no-default-features --features full -Zunstable-options --config "build.rustdocflags=[\"--cfg\", \"docsrs\"]"
coverage:
needs: [fmt]

View File

@ -133,7 +133,7 @@ members = [
[package.metadata.docs.rs]
no-default-features = true
features = ["macros", "num-bigint", "num-complex", "hashbrown", "serde", "multiple-pymethods", "indexmap", "eyre", "either", "chrono", "rust_decimal"]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]
[workspace.lints.clippy]