{"action":"closed","number":5029,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/5029","id":168636567,"html_url":"https://github.com/rust-lang/cargo/pull/5029","diff_url":"https://github.com/rust-lang/cargo/pull/5029.diff","patch_url":"https://github.com/rust-lang/cargo/pull/5029.patch","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/5029","number":5029,"state":"closed","locked":false,"title":"New defaults to bin","user":{"login":"matklad","id":1711539,"avatar_url":"https://avatars3.githubusercontent.com/u/1711539?v=4","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"body":"So this switches `cargo new` default from `--lib` to `--bin`, as discussed on IRC.\r\n\r\nThe first two commits are just refactorings, and the last one actually flips the switch. Surprisingly enough, no tests need to be modified it seems!\r\n\r\nr? @withoutboats \r\n","created_at":"2018-02-12T17:09:22Z","updated_at":"2018-02-13T11:33:35Z","closed_at":"2018-02-13T11:33:34Z","merged_at":"2018-02-13T11:33:34Z","merge_commit_sha":"9cb10e68a2f225b5e993043f13da98568a41c50a","assignee":{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false},"assignees":[{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":315362841,"url":"https://api.github.com/repos/rust-lang/cargo/labels/relnotes","name":"relnotes","color":"fad8c7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/cargo/pulls/5029/commits","review_comments_url":"https://api.github.com/repos/rust-lang/cargo/pulls/5029/comments","review_comment_url":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/5029/comments","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/9cb10e68a2f225b5e993043f13da98568a41c50a","head":{"label":"matklad:new-defaults-to-bin","ref":"new-defaults-to-bin","sha":"9cb10e68a2f225b5e993043f13da98568a41c50a","user":{"login":"matklad","id":1711539,"avatar_url":"https://avatars3.githubusercontent.com/u/1711539?v=4","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"repo":{"id":47427273,"name":"cargo","full_name":"matklad/cargo","owner":{"login":"matklad","id":1711539,"avatar_url":"https://avatars3.githubusercontent.com/u/1711539?v=4","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matklad/cargo","description":"The Rust package manager","fork":true,"url":"https://api.github.com/repos/matklad/cargo","forks_url":"https://api.github.com/repos/matklad/cargo/forks","keys_url":"https://api.github.com/repos/matklad/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matklad/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matklad/cargo/teams","hooks_url":"https://api.github.com/repos/matklad/cargo/hooks","issue_events_url":"https://api.github.com/repos/matklad/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/matklad/cargo/events","assignees_url":"https://api.github.com/repos/matklad/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/matklad/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/matklad/cargo/tags","blobs_url":"https://api.github.com/repos/matklad/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matklad/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matklad/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/matklad/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matklad/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/matklad/cargo/languages","stargazers_url":"https://api.github.com/repos/matklad/cargo/stargazers","contributors_url":"https://api.github.com/repos/matklad/cargo/contributors","subscribers_url":"https://api.github.com/repos/matklad/cargo/subscribers","subscription_url":"https://api.github.com/repos/matklad/cargo/subscription","commits_url":"https://api.github.com/repos/matklad/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/matklad/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/matklad/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/matklad/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/matklad/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/matklad/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matklad/cargo/merges","archive_url":"https://api.github.com/repos/matklad/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matklad/cargo/downloads","issues_url":"https://api.github.com/repos/matklad/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/matklad/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/matklad/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/matklad/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matklad/cargo/labels{/name}","releases_url":"https://api.github.com/repos/matklad/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/matklad/cargo/deployments","created_at":"2015-12-04T20:30:04Z","updated_at":"2016-01-29T00:49:42Z","pushed_at":"2018-02-12T18:38:31Z","git_url":"git://github.com/matklad/cargo.git","ssh_url":"git@github.com:matklad/cargo.git","clone_url":"https://github.com/matklad/cargo.git","svn_url":"https://github.com/matklad/cargo","homepage":"http://crates.io/","size":14352,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"cb30fba4a35d8716ed490cc9a220ae99701d8015","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars1.githubusercontent.com/u/5430905?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":17420913,"name":"cargo","full_name":"rust-lang/cargo","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars1.githubusercontent.com/u/5430905?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/cargo","description":"The Rust package manager","fork":false,"url":"https://api.github.com/repos/rust-lang/cargo","forks_url":"https://api.github.com/repos/rust-lang/cargo/forks","keys_url":"https://api.github.com/repos/rust-lang/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/cargo/teams","hooks_url":"https://api.github.com/repos/rust-lang/cargo/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/cargo/events","assignees_url":"https://api.github.com/repos/rust-lang/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/cargo/tags","blobs_url":"https://api.github.com/repos/rust-lang/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/cargo/languages","stargazers_url":"https://api.github.com/repos/rust-lang/cargo/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/cargo/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/cargo/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/cargo/subscription","commits_url":"https://api.github.com/repos/rust-lang/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/cargo/merges","archive_url":"https://api.github.com/repos/rust-lang/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/cargo/downloads","issues_url":"https://api.github.com/repos/rust-lang/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/cargo/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang/cargo/deployments","created_at":"2014-03-04T23:20:42Z","updated_at":"2018-02-13T11:19:26Z","pushed_at":"2018-02-13T11:33:32Z","git_url":"git://github.com/rust-lang/cargo.git","ssh_url":"git@github.com:rust-lang/cargo.git","clone_url":"https://github.com/rust-lang/cargo.git","svn_url":"https://github.com/rust-lang/cargo","homepage":"https://doc.rust-lang.org/cargo","size":16697,"stargazers_count":2878,"watchers_count":2878,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":713,"mirror_url":null,"archived":false,"open_issues_count":617,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":713,"open_issues":617,"watchers":2878,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/5029"},"html":{"href":"https://github.com/rust-lang/cargo/pull/5029"},"issue":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/5029"},"comments":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/5029/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/5029/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/5029/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/cargo/statuses/9cb10e68a2f225b5e993043f13da98568a41c50a"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bors","id":3372342,"avatar_url":"https://avatars2.githubusercontent.com/u/3372342?v=4","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"comments":13,"review_comments":1,"maintainer_can_modify":false,"commits":3,"additions":56,"deletions":57,"changed_files":5}}
{"actor":{"display_login":"bors"}}