{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2775","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2775/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2775/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2775/events","html_url":"https://github.com/rust-lang/cargo/issues/2775","id":158732743,"number":2775,"title":"Accept hyphen in crate name in place of underscore","user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-06T17:36:29Z","updated_at":"2016-06-08T14:28:11Z","closed_at":"2016-06-08T14:28:11Z","body":"Crates.io currently accepts hyphens for crates that use underscores, both in the [web interface](https://crates.io/crates/serde-codegen) and in the [API](https://github.com/rust-lang/crates.io/issues/283).\r\n\r\nCargo does not, but should.\r\n\r\n```\r\nerror: no matching package named `serde-codegen` found (required by `testing`)\r\nlocation searched: registry https://github.com/rust-lang/crates.io-index\r\nversion required: *\r\n```"}}
{"actor":{"display_login":"dtolnay"}}