{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/3805","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/3805/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/3805/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/3805/events","html_url":"https://github.com/rust-lang/cargo/issues/3805","id":212698927,"node_id":"MDU6SXNzdWUyMTI2OTg5Mjc=","number":3805,"title":"Open documentation for a given crate","user":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-08T10:42:41Z","updated_at":"2018-10-03T18:33:44Z","closed_at":"2017-03-08T19:49:09Z","author_association":"CONTRIBUTOR","body":"I often want to see documentation for a dependency (including build dependencies), but it's cumbersome to open it — I have to go to crates.io, find the dependency, and then follow its Documentation link.\r\n\r\nCargo already knows this link from metadata, so it could open the documentation for me.\r\n\r\nI'd expect it to work like this:\r\n\r\n```sh\r\ncargo doc crate-name\r\n```\r\n\r\nSuch functionality is in npm `npm docs package-name`."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/426747886","html_url":"https://github.com/rust-lang/cargo/issues/3805#issuecomment-426747886","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/3805","id":426747886,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjc0Nzg4Ng==","user":{"login":"prasannavl","id":559409,"node_id":"MDQ6VXNlcjU1OTQwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/559409?v=4","gravatar_id":"","url":"https://api.github.com/users/prasannavl","html_url":"https://github.com/prasannavl","followers_url":"https://api.github.com/users/prasannavl/followers","following_url":"https://api.github.com/users/prasannavl/following{/other_user}","gists_url":"https://api.github.com/users/prasannavl/gists{/gist_id}","starred_url":"https://api.github.com/users/prasannavl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasannavl/subscriptions","organizations_url":"https://api.github.com/users/prasannavl/orgs","repos_url":"https://api.github.com/users/prasannavl/repos","events_url":"https://api.github.com/users/prasannavl/events{/privacy}","received_events_url":"https://api.github.com/users/prasannavl/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T18:33:44Z","updated_at":"2018-10-03T18:33:44Z","author_association":"NONE","body":"Does the source code work with this method though? The last I checked, it doesn't. Clicking `src` just leads me an empty page. Perhaps, that has to be created as a separate issue?"}}
{"actor":{"display_login":"prasannavl"}}