Skip to content

feature request: build docs for dependencies only #2801

@letheed

Description

@letheed

Idea: add a new flag to cargo-doc doing the opposite of --no-deps (e.g. --deps-only).
It would be useful to be able to do

cargo doc --deps-only --open

to generate the documentation for the dependencies of the crate, even when the crate itself doesn't compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: enhancementCommand-docS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions