{"action":"closed","issue":{"url":"https://api.github.com/repos/killercup/cargo-edit/issues/12","labels_url":"https://api.github.com/repos/killercup/cargo-edit/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/killercup/cargo-edit/issues/12/comments","events_url":"https://api.github.com/repos/killercup/cargo-edit/issues/12/events","html_url":"https://github.com/killercup/cargo-edit/issues/12","id":110854609,"number":12,"title":"`cargo add`: Get version info from crates.io","user":{"login":"killercup","id":20063,"avatar_url":"https://avatars.githubusercontent.com/u/20063?v=3","gravatar_id":"","url":"https://api.github.com/users/killercup","html_url":"https://github.com/killercup","followers_url":"https://api.github.com/users/killercup/followers","following_url":"https://api.github.com/users/killercup/following{/other_user}","gists_url":"https://api.github.com/users/killercup/gists{/gist_id}","starred_url":"https://api.github.com/users/killercup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killercup/subscriptions","organizations_url":"https://api.github.com/users/killercup/orgs","repos_url":"https://api.github.com/users/killercup/repos","events_url":"https://api.github.com/users/killercup/events{/privacy}","received_events_url":"https://api.github.com/users/killercup/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/killercup/cargo-edit/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/killercup/cargo-edit/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-11T12:54:07Z","updated_at":"2015-10-15T18:08:47Z","closed_at":"2015-10-15T18:08:47Z","body":"When not specifying the version of a crate (e.g. `cargo add regex`), automatically make a request to crates.io to determine it (see comments below).\r\n\r\nWildcard dependencies like `regex = \"*\"` are evil.\r\n\r\nPossible errors to consider and handle:\r\n\r\n- \"crate not found\"\r\n- \"could not connect to crates.io\"\r\n- \"could not parse crates.io response\""}}