{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37","id":191714658,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzE0NjU4","html_url":"https://github.com/oli-obk/cargo_metadata/pull/37","diff_url":"https://github.com/oli-obk/cargo_metadata/pull/37.diff","patch_url":"https://github.com/oli-obk/cargo_metadata/pull/37.patch","issue_url":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/37","number":37,"state":"closed","locked":false,"title":"Add support for package.metadata table","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","site_admin":false},"body":"Since https://github.com/rust-lang/cargo/pull/5360 `cargo metadata` outputs the contents of the [optional `package.metadata` table](https://doc.rust-lang.org/cargo/reference/manifest.html#the-metadata-table-optional). This PR adds support for the table to this crate. Since the table can contain arbitrary content, the return type is a dynamic `serde_json::Map`.\r\n\r\nUnresolved questions:\r\n\r\n- Is it ok to expose types of the serde_json dependency in the public API? Or do we need to make the `serde_json` dependency public?\r\n- The test doesn't work on stable yet. Is there a way to conditionally execute the test only on nightly and beta?","created_at":"2018-05-31T10:44:48Z","updated_at":"2018-05-31T13:56:02Z","closed_at":"2018-05-31T13:56:02Z","merged_at":"2018-05-31T13:56:02Z","merge_commit_sha":"49824e540411a940ad1fff7e3c5704f6bfaebc65","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37/commits","review_comments_url":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37/comments","review_comment_url":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/37/comments","statuses_url":"https://api.github.com/repos/oli-obk/cargo_metadata/statuses/474e21ae8480da519a2f438d679698a1ad4702d4","head":{"label":"phil-opp:metadata-table","ref":"metadata-table","sha":"474e21ae8480da519a2f438d679698a1ad4702d4","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","site_admin":false},"repo":{"id":135565594,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU1NjU1OTQ=","name":"cargo_metadata","full_name":"phil-opp/cargo_metadata","owner":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phil-opp/cargo_metadata","description":null,"fork":true,"url":"https://api.github.com/repos/phil-opp/cargo_metadata","forks_url":"https://api.github.com/repos/phil-opp/cargo_metadata/forks","keys_url":"https://api.github.com/repos/phil-opp/cargo_metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phil-opp/cargo_metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phil-opp/cargo_metadata/teams","hooks_url":"https://api.github.com/repos/phil-opp/cargo_metadata/hooks","issue_events_url":"https://api.github.com/repos/phil-opp/cargo_metadata/issues/events{/number}","events_url":"https://api.github.com/repos/phil-opp/cargo_metadata/events","assignees_url":"https://api.github.com/repos/phil-opp/cargo_metadata/assignees{/user}","branches_url":"https://api.github.com/repos/phil-opp/cargo_metadata/branches{/branch}","tags_url":"https://api.github.com/repos/phil-opp/cargo_metadata/tags","blobs_url":"https://api.github.com/repos/phil-opp/cargo_metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phil-opp/cargo_metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phil-opp/cargo_metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/phil-opp/cargo_metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phil-opp/cargo_metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/phil-opp/cargo_metadata/languages","stargazers_url":"https://api.github.com/repos/phil-opp/cargo_metadata/stargazers","contributors_url":"https://api.github.com/repos/phil-opp/cargo_metadata/contributors","subscribers_url":"https://api.github.com/repos/phil-opp/cargo_metadata/subscribers","subscription_url":"https://api.github.com/repos/phil-opp/cargo_metadata/subscription","commits_url":"https://api.github.com/repos/phil-opp/cargo_metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/phil-opp/cargo_metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/phil-opp/cargo_metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/phil-opp/cargo_metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/phil-opp/cargo_metadata/contents/{+path}","compare_url":"https://api.github.com/repos/phil-opp/cargo_metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phil-opp/cargo_metadata/merges","archive_url":"https://api.github.com/repos/phil-opp/cargo_metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phil-opp/cargo_metadata/downloads","issues_url":"https://api.github.com/repos/phil-opp/cargo_metadata/issues{/number}","pulls_url":"https://api.github.com/repos/phil-opp/cargo_metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/phil-opp/cargo_metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/phil-opp/cargo_metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phil-opp/cargo_metadata/labels{/name}","releases_url":"https://api.github.com/repos/phil-opp/cargo_metadata/releases{/id}","deployments_url":"https://api.github.com/repos/phil-opp/cargo_metadata/deployments","created_at":"2018-05-31T09:55:35Z","updated_at":"2018-05-31T09:55:38Z","pushed_at":"2018-05-31T13:46:37Z","git_url":"git://github.com/phil-opp/cargo_metadata.git","ssh_url":"git@github.com:phil-opp/cargo_metadata.git","clone_url":"https://github.com/phil-opp/cargo_metadata.git","svn_url":"https://github.com/phil-opp/cargo_metadata","homepage":null,"size":62,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oli-obk:master","ref":"master","sha":"120f91080f2898e3b35eb768b7e35cd07dc1a1b7","user":{"login":"oli-obk","id":332036,"node_id":"MDQ6VXNlcjMzMjAzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/332036?v=4","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"repo":{"id":79900360,"node_id":"MDEwOlJlcG9zaXRvcnk3OTkwMDM2MA==","name":"cargo_metadata","full_name":"oli-obk/cargo_metadata","owner":{"login":"oli-obk","id":332036,"node_id":"MDQ6VXNlcjMzMjAzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/332036?v=4","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oli-obk/cargo_metadata","description":null,"fork":false,"url":"https://api.github.com/repos/oli-obk/cargo_metadata","forks_url":"https://api.github.com/repos/oli-obk/cargo_metadata/forks","keys_url":"https://api.github.com/repos/oli-obk/cargo_metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oli-obk/cargo_metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oli-obk/cargo_metadata/teams","hooks_url":"https://api.github.com/repos/oli-obk/cargo_metadata/hooks","issue_events_url":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/events{/number}","events_url":"https://api.github.com/repos/oli-obk/cargo_metadata/events","assignees_url":"https://api.github.com/repos/oli-obk/cargo_metadata/assignees{/user}","branches_url":"https://api.github.com/repos/oli-obk/cargo_metadata/branches{/branch}","tags_url":"https://api.github.com/repos/oli-obk/cargo_metadata/tags","blobs_url":"https://api.github.com/repos/oli-obk/cargo_metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oli-obk/cargo_metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oli-obk/cargo_metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/oli-obk/cargo_metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oli-obk/cargo_metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/oli-obk/cargo_metadata/languages","stargazers_url":"https://api.github.com/repos/oli-obk/cargo_metadata/stargazers","contributors_url":"https://api.github.com/repos/oli-obk/cargo_metadata/contributors","subscribers_url":"https://api.github.com/repos/oli-obk/cargo_metadata/subscribers","subscription_url":"https://api.github.com/repos/oli-obk/cargo_metadata/subscription","commits_url":"https://api.github.com/repos/oli-obk/cargo_metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/oli-obk/cargo_metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/oli-obk/cargo_metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/oli-obk/cargo_metadata/contents/{+path}","compare_url":"https://api.github.com/repos/oli-obk/cargo_metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oli-obk/cargo_metadata/merges","archive_url":"https://api.github.com/repos/oli-obk/cargo_metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oli-obk/cargo_metadata/downloads","issues_url":"https://api.github.com/repos/oli-obk/cargo_metadata/issues{/number}","pulls_url":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/oli-obk/cargo_metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/oli-obk/cargo_metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oli-obk/cargo_metadata/labels{/name}","releases_url":"https://api.github.com/repos/oli-obk/cargo_metadata/releases{/id}","deployments_url":"https://api.github.com/repos/oli-obk/cargo_metadata/deployments","created_at":"2017-01-24T10:14:02Z","updated_at":"2018-05-31T11:36:39Z","pushed_at":"2018-05-31T13:56:02Z","git_url":"git://github.com/oli-obk/cargo_metadata.git","ssh_url":"git@github.com:oli-obk/cargo_metadata.git","clone_url":"https://github.com/oli-obk/cargo_metadata.git","svn_url":"https://github.com/oli-obk/cargo_metadata","homepage":null,"size":65,"stargazers_count":11,"watchers_count":11,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37"},"html":{"href":"https://github.com/oli-obk/cargo_metadata/pull/37"},"issue":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/37"},"comments":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/oli-obk/cargo_metadata/statuses/474e21ae8480da519a2f438d679698a1ad4702d4"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"oli-obk","id":332036,"node_id":"MDQ6VXNlcjMzMjAzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/332036?v=4","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"maintainer_can_modify":false,"commits":7,"additions":57,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"oli-obk"}}