-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The -Zrustdoc-scrape-examples
flag is being ignored on docs.rs due to rust-lang/cargo#11430, which requires users to explicitly indicate that examples which rely on dev-dependencies should be scraped. (This avoids breakage because cargo doc
does not normally require dev-dependencies.)
If the maintainers still want to use this feature, you can add doc-scrape-examples = true
to one [[example]]
configuration, for instance:
[[example]]
name = "demo"
required-features = ["derive"]
doc-scrape-examples = true
Metadata
Metadata
Assignees
Labels
No labels