-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
A-buildsArea: Building the documentation for a crateArea: Building the documentation for a crateC-enhancementCategory: This is a new featureCategory: This is a new featureE-mediumEffort: This requires a fair amount of workEffort: This requires a fair amount of work
Description
Docs.rs currently supports metadata of this format:
[package.metadata.docs.rs]
all-features = true
Sometimes crates have "private" features; which shouldn't be documented on docs.rs. It is possible to use doc(hidden)
on these, but it would be preferable if docs were not broken for these features when they're actually desired.
It would be nice to be able to supply a denylist of features that do not get run with all-features. AIUI the code currently just passes --all-features
in, so it would probably need to be tweaked to use cargo metadata
to get the full feature list.
Metadata
Metadata
Assignees
Labels
A-buildsArea: Building the documentation for a crateArea: Building the documentation for a crateC-enhancementCategory: This is a new featureCategory: This is a new featureE-mediumEffort: This requires a fair amount of workEffort: This requires a fair amount of work