{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/6421","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/6421/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/6421/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/6421/events","html_url":"https://github.com/rust-lang/cargo/issues/6421","id":390352301,"node_id":"MDU6SXNzdWUzOTAzNTIzMDE=","number":6421,"title":"Is there a way to run cargo doc and only get the documentation for direct dependencies of my project? ","user":{"login":"lazypassion","id":25536767,"node_id":"MDQ6VXNlcjI1NTM2NzY3","avatar_url":"https://avatars0.githubusercontent.com/u/25536767?v=4","gravatar_id":"","url":"https://api.github.com/users/lazypassion","html_url":"https://github.com/lazypassion","followers_url":"https://api.github.com/users/lazypassion/followers","following_url":"https://api.github.com/users/lazypassion/following{/other_user}","gists_url":"https://api.github.com/users/lazypassion/gists{/gist_id}","starred_url":"https://api.github.com/users/lazypassion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazypassion/subscriptions","organizations_url":"https://api.github.com/users/lazypassion/orgs","repos_url":"https://api.github.com/users/lazypassion/repos","events_url":"https://api.github.com/users/lazypassion/events{/privacy}","received_events_url":"https://api.github.com/users/lazypassion/received_events","type":"User","site_admin":false},"labels":[{"id":677709505,"node_id":"MDU6TGFiZWw2Nzc3MDk1MDU=","url":"https://api.github.com/repos/rust-lang/cargo/labels/C-feature-request","name":"C-feature-request","color":"f5f1fd","default":false},{"id":166015471,"node_id":"MDU6TGFiZWwxNjYwMTU0NzE=","url":"https://api.github.com/repos/rust-lang/cargo/labels/Command-doc","name":"Command-doc","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-12T18:27:08Z","updated_at":"2018-12-14T01:11:59Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing a 🙋 feature request 😄! -->\r\n\r\n**Describe the problem you are trying to solve**\r\n<!-- A clear and concise description of the problem this feature request is trying to solve. -->\r\nWhenever I run cargo doc, it builds the documentation for all the dependencies of the project. The problem is that I don't want all the documentation for every crate. I only want the documentation for the crates that are direct dependencies of my project and not the dependencies of my project's dependencies. \r\n\r\n**Describe the solution you'd like**\r\n<!-- A clear and concise description of what you want to happen. -->\r\nI would prefer if the default behavior of cargo doc only builds the documentation for my project and its direct dependencies.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/447178487","html_url":"https://github.com/rust-lang/cargo/issues/6421#issuecomment-447178487","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/6421","id":447178487,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzE3ODQ4Nw==","user":{"login":"lazypassion","id":25536767,"node_id":"MDQ6VXNlcjI1NTM2NzY3","avatar_url":"https://avatars0.githubusercontent.com/u/25536767?v=4","gravatar_id":"","url":"https://api.github.com/users/lazypassion","html_url":"https://github.com/lazypassion","followers_url":"https://api.github.com/users/lazypassion/followers","following_url":"https://api.github.com/users/lazypassion/following{/other_user}","gists_url":"https://api.github.com/users/lazypassion/gists{/gist_id}","starred_url":"https://api.github.com/users/lazypassion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazypassion/subscriptions","organizations_url":"https://api.github.com/users/lazypassion/orgs","repos_url":"https://api.github.com/users/lazypassion/repos","events_url":"https://api.github.com/users/lazypassion/events{/privacy}","received_events_url":"https://api.github.com/users/lazypassion/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T01:11:59Z","updated_at":"2018-12-14T01:11:59Z","author_association":"NONE","body":"Is there a reason cargo doc builds the documentation for every dependency of the project and not only the direct dependencies?"}}
{"actor":{"display_login":"lazypassion"}}