Docs.rs metadata all-features workspace-wide

Hi

I have a workspace with a lot of crates. The issue that in docs.rs some types are not documented since they are behind non-default feature flags.

For a single package it can be solved by setting some metadata in Cargo.toml:

[package.metadata.docs.rs]
all-features = true

But is there a way to configure this once in my workspace and make it apply to all packages in my workspace? E.g:

[workspace.metadata.docs.rs]
# Include types from features not compiled by default in rustdocs.
all-features = true

Or isn't this possible and does it need to be done for each package individually since docs.rs does not have any context about the workspace since a package is pushed individually?

No, but issue #16183 was recently opened to address this. If/when cargo is changed, #2226 seems to suggest that docs.rs would be able to easily use it.