Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow cargo doc --dev to include the documentation of dev dependencies #11154

Closed
cdecompilador opened this issue Sep 27, 2022 · 1 comment
Closed
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@cdecompilador
Copy link

cdecompilador commented Sep 27, 2022

Problem

When you generate documentation for your crate, unless specific conditions it won't include development dependencies. For the people that use the "cargo doc" while developing to look at the documentation this might be useful

Proposed Solution

Just that adding --dev would enable development depenencies

Notes

No response

@cdecompilador cdecompilador added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Sep 27, 2022
@ehuss
Copy link
Contributor

ehuss commented Sep 27, 2022

Thanks for the suggestion! I believe this is a duplicate of #3475, so closing in favor of that.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants