-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.Command-rustdocS-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.
Description
Summary
Original issue: #12103
Implementation: #12252
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#output-format-for-rustdoc
This flag determines the output format of cargo rustdoc, providing tools a way to lean on rustdoc's experimental JSON format.
Unresolved Issues
- Make sure it doesn't cause errors with
--openflag when opening JSON file. - Interaction with
-Z rustdoc-scrape-examples. Does the JSON include the scraped data? Or should scraping be disabled when generating the JSON? - Add it to
cargo docas well? We might need to address the output JSON name conflict.cargo rustdoc --output-format=jsonsometimes doesn't rebuild for different versions of same crate name. #16291
Future Extensions
No response
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.Command-rustdocS-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.
Type
Projects
Status
Unstable, baking