{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1812","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1812/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1812/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1812/events","html_url":"https://github.com/rust-lang/cargo/pull/1812","id":95701136,"number":1812,"title":"Only compile activated optional dependencies","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-17T17:10:07Z","updated_at":"2015-07-17T17:10:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/1812","html_url":"https://github.com/rust-lang/cargo/pull/1812","diff_url":"https://github.com/rust-lang/cargo/pull/1812.diff","patch_url":"https://github.com/rust-lang/cargo/pull/1812.patch"},"body":"Development dependencies are traversed during the resolution process, causing\r\nthem to be returned as the list of dependencies for a package in terms of\r\nresolution. The compilation phase would then filter these out depending on the\r\ndependency's transitivity, but this was incorrectly accounted for when the\r\ndependency showed up multiple times in a few lists.\r\n\r\nThis commit fixes this behavior by updating the filtering logic to ensure that\r\nonly activated optional dependencies (those whose feature names are listed) are\r\ncompiled.\r\n\r\nCloses #1805"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/122345305","html_url":"https://github.com/rust-lang/cargo/pull/1812#issuecomment-122345305","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1812","id":122345305,"user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T17:10:19Z","updated_at":"2015-07-17T17:10:19Z","body":"r? @huonw\n\n(rust_highfive has picked a reviewer for you, use r? to override)"}}