Skip to content

rustdoc-json: Expose Item stability #157940

Description

@aDotInTheVoid

Rustdoc-Json should say if an item in stable or not (for items in the standard library).

It should model all the ways an item can be (un)stable, like const stability and body-instability.

This is motivated by cargo-semver-checks wanting to work on the standard library, but that requires being able to filter out breaking changes to unstable items, so it can only flag breaking changes to stable items. This in turn is motivated by
#153486.

An abandoned implementation of this existed at #154603.

CC @obi1kenobi

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-jsonArea: Rustdoc JSON backendA-stabilityArea: `#[stable]`, `#[unstable]` etc.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-json-backendRelevant to the rustdoc JSON backend team, which will review and decide on the PR/issue.

    Fields

    No fields configured for Feature Request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions