{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1311","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1311/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1311/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1311/events","html_url":"https://github.com/rust-lang/cargo/issues/1311","id":57708126,"number":1311,"title":"Allow renaming crates in the dependencies section","user":{"login":"alexchandel","id":637714,"avatar_url":"https://avatars.githubusercontent.com/u/637714?v=3","gravatar_id":"","url":"https://api.github.com/users/alexchandel","html_url":"https://github.com/alexchandel","followers_url":"https://api.github.com/users/alexchandel/followers","following_url":"https://api.github.com/users/alexchandel/following{/other_user}","gists_url":"https://api.github.com/users/alexchandel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexchandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexchandel/subscriptions","organizations_url":"https://api.github.com/users/alexchandel/orgs","repos_url":"https://api.github.com/users/alexchandel/repos","events_url":"https://api.github.com/users/alexchandel/events{/privacy}","received_events_url":"https://api.github.com/users/alexchandel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/cargo/labels/A-configuration","name":"A-configuration","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-14T22:00:41Z","updated_at":"2016-03-11T13:36:36Z","closed_at":null,"body":"Something like this should work:\r\n```toml\r\n[dependencies.rustc_serialize]\r\ncrate = \"rustc-serialize\"\r\n```\r\n\r\nAt the moment, only `path` and `git` attributes are supported."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/195364874","html_url":"https://github.com/rust-lang/cargo/issues/1311#issuecomment-195364874","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1311","id":195364874,"user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T13:36:36Z","updated_at":"2016-03-11T13:36:36Z","body":"This is a wanted feature for the following scenario:\r\n\r\nYour crate provides an optional feature named \"serde\" that enables serde integration.\r\n\r\nIn the next version you want to depend two crates for the \"serde\" feature, serde itself and another crate. Renaming the serde dependency would make the serde feature name available to do this transition smoothly."}}