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

Docs should not be built for build-dependencies #1529

Closed
edef1c opened this issue Apr 16, 2015 · 2 comments
Closed

Docs should not be built for build-dependencies #1529

edef1c opened this issue Apr 16, 2015 · 2 comments

Comments

@edef1c
Copy link

edef1c commented Apr 16, 2015

Currently, if I depend on gcc, the docs for it show up in my package.
I'm working around this with --no-deps, but ideally I'd have docs for my regular dependencies.

edef1c added a commit to edef1c/libfringe that referenced this issue Apr 16, 2015
@nixpulvis
Copy link

Maybe we're saying the same thing, but I'd like a way to have the docs generated for all of my direct dependencies, but not their dependencies. In fact I'd argue this should be the default behavior.

If I add a crate bar as a dependency of the crate I'm working on bar, then I'd love to see both foo and bar's documentation. However, if bar needs baz I frankly couldn't care less, as that's the decision of bar and I shouldn't need to look up anything in baz.

@alexcrichton
Copy link
Member

Oh! This was actually fixed recently.

@nixpulvis could you open an issue for that? Seems like a useful option to have for cargo doc!

edef1c added a commit to edef1c/libfringe that referenced this issue Oct 9, 2015
This reverts commit 0eef4bf.
rust-lang/cargo#1529 has been fixed, so this is no longer necessary.
edef1c added a commit to edef1c/libfringe that referenced this issue Feb 25, 2017
edef1c added a commit to edef1c/libfringe that referenced this issue Feb 25, 2017
This reverts commit 0eef4bf.
rust-lang/cargo#1529 has been fixed, so this is no longer necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants