{"action":"opened","number":266,"pull_request":{"url":"https://api.github.com/repos/dtolnay/syn/pulls/266","id":156549940,"html_url":"https://github.com/dtolnay/syn/pull/266","diff_url":"https://github.com/dtolnay/syn/pull/266.diff","patch_url":"https://github.com/dtolnay/syn/pull/266.patch","issue_url":"https://api.github.com/repos/dtolnay/syn/issues/266","number":266,"state":"open","locked":false,"title":"Add a feature to synom for verbose parsing logging","user":{"login":"mystor","id":1261662,"avatar_url":"https://avatars1.githubusercontent.com/u/1261662?v=4","gravatar_id":"","url":"https://api.github.com/users/mystor","html_url":"https://github.com/mystor","followers_url":"https://api.github.com/users/mystor/followers","following_url":"https://api.github.com/users/mystor/following{/other_user}","gists_url":"https://api.github.com/users/mystor/gists{/gist_id}","starred_url":"https://api.github.com/users/mystor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mystor/subscriptions","organizations_url":"https://api.github.com/users/mystor/orgs","repos_url":"https://api.github.com/users/mystor/repos","events_url":"https://api.github.com/users/mystor/events{/privacy}","received_events_url":"https://api.github.com/users/mystor/received_events","type":"User","site_admin":false},"body":"I'm not sure if we want this to be in the tree, but I've written code which does something like this to debug why and where a parse is failing multiple times.\r\n\r\nI intentionally don't expose this as a feature on syn, as I don't want --all-features on syn to pick it up ('cause we use that for tests), but this unfortunately makes it a bit hard to use this feature when testing. I usually edit synom's Cargo.toml when I want to turn it on.","created_at":"2017-12-05T19:15:45Z","updated_at":"2017-12-05T19:15:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dtolnay/syn/pulls/266/commits","review_comments_url":"https://api.github.com/repos/dtolnay/syn/pulls/266/comments","review_comment_url":"https://api.github.com/repos/dtolnay/syn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dtolnay/syn/issues/266/comments","statuses_url":"https://api.github.com/repos/dtolnay/syn/statuses/ae81b37f203f987ee083c058fb88612845997492","head":{"label":"mystor:verbose_logging","ref":"verbose_logging","sha":"ae81b37f203f987ee083c058fb88612845997492","user":{"login":"mystor","id":1261662,"avatar_url":"https://avatars1.githubusercontent.com/u/1261662?v=4","gravatar_id":"","url":"https://api.github.com/users/mystor","html_url":"https://github.com/mystor","followers_url":"https://api.github.com/users/mystor/followers","following_url":"https://api.github.com/users/mystor/following{/other_user}","gists_url":"https://api.github.com/users/mystor/gists{/gist_id}","starred_url":"https://api.github.com/users/mystor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mystor/subscriptions","organizations_url":"https://api.github.com/users/mystor/orgs","repos_url":"https://api.github.com/users/mystor/repos","events_url":"https://api.github.com/users/mystor/events{/privacy}","received_events_url":"https://api.github.com/users/mystor/received_events","type":"User","site_admin":false},"repo":{"id":79751486,"name":"syn","full_name":"mystor/syn","owner":{"login":"mystor","id":1261662,"avatar_url":"https://avatars1.githubusercontent.com/u/1261662?v=4","gravatar_id":"","url":"https://api.github.com/users/mystor","html_url":"https://github.com/mystor","followers_url":"https://api.github.com/users/mystor/followers","following_url":"https://api.github.com/users/mystor/following{/other_user}","gists_url":"https://api.github.com/users/mystor/gists{/gist_id}","starred_url":"https://api.github.com/users/mystor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mystor/subscriptions","organizations_url":"https://api.github.com/users/mystor/orgs","repos_url":"https://api.github.com/users/mystor/repos","events_url":"https://api.github.com/users/mystor/events{/privacy}","received_events_url":"https://api.github.com/users/mystor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mystor/syn","description":"Nom parser for Rust source code","fork":true,"url":"https://api.github.com/repos/mystor/syn","forks_url":"https://api.github.com/repos/mystor/syn/forks","keys_url":"https://api.github.com/repos/mystor/syn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mystor/syn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mystor/syn/teams","hooks_url":"https://api.github.com/repos/mystor/syn/hooks","issue_events_url":"https://api.github.com/repos/mystor/syn/issues/events{/number}","events_url":"https://api.github.com/repos/mystor/syn/events","assignees_url":"https://api.github.com/repos/mystor/syn/assignees{/user}","branches_url":"https://api.github.com/repos/mystor/syn/branches{/branch}","tags_url":"https://api.github.com/repos/mystor/syn/tags","blobs_url":"https://api.github.com/repos/mystor/syn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mystor/syn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mystor/syn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mystor/syn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mystor/syn/statuses/{sha}","languages_url":"https://api.github.com/repos/mystor/syn/languages","stargazers_url":"https://api.github.com/repos/mystor/syn/stargazers","contributors_url":"https://api.github.com/repos/mystor/syn/contributors","subscribers_url":"https://api.github.com/repos/mystor/syn/subscribers","subscription_url":"https://api.github.com/repos/mystor/syn/subscription","commits_url":"https://api.github.com/repos/mystor/syn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mystor/syn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mystor/syn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mystor/syn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mystor/syn/contents/{+path}","compare_url":"https://api.github.com/repos/mystor/syn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mystor/syn/merges","archive_url":"https://api.github.com/repos/mystor/syn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mystor/syn/downloads","issues_url":"https://api.github.com/repos/mystor/syn/issues{/number}","pulls_url":"https://api.github.com/repos/mystor/syn/pulls{/number}","milestones_url":"https://api.github.com/repos/mystor/syn/milestones{/number}","notifications_url":"https://api.github.com/repos/mystor/syn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mystor/syn/labels{/name}","releases_url":"https://api.github.com/repos/mystor/syn/releases{/id}","deployments_url":"https://api.github.com/repos/mystor/syn/deployments","created_at":"2017-01-22T22:51:53Z","updated_at":"2017-01-22T22:51:56Z","pushed_at":"2017-12-05T19:13:58Z","git_url":"git://github.com/mystor/syn.git","ssh_url":"git@github.com:mystor/syn.git","clone_url":"https://github.com/mystor/syn.git","svn_url":"https://github.com/mystor/syn","homepage":"","size":6817,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dtolnay:master","ref":"master","sha":"4fee25e6c77bafd2820a1c2290386dd0b96d81de","user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars2.githubusercontent.com/u/1940490?v=4","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},"repo":{"id":67305738,"name":"syn","full_name":"dtolnay/syn","owner":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars2.githubusercontent.com/u/1940490?v=4","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},"private":false,"html_url":"https://github.com/dtolnay/syn","description":"Nom parser for Rust source code","fork":false,"url":"https://api.github.com/repos/dtolnay/syn","forks_url":"https://api.github.com/repos/dtolnay/syn/forks","keys_url":"https://api.github.com/repos/dtolnay/syn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtolnay/syn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtolnay/syn/teams","hooks_url":"https://api.github.com/repos/dtolnay/syn/hooks","issue_events_url":"https://api.github.com/repos/dtolnay/syn/issues/events{/number}","events_url":"https://api.github.com/repos/dtolnay/syn/events","assignees_url":"https://api.github.com/repos/dtolnay/syn/assignees{/user}","branches_url":"https://api.github.com/repos/dtolnay/syn/branches{/branch}","tags_url":"https://api.github.com/repos/dtolnay/syn/tags","blobs_url":"https://api.github.com/repos/dtolnay/syn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtolnay/syn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtolnay/syn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtolnay/syn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtolnay/syn/statuses/{sha}","languages_url":"https://api.github.com/repos/dtolnay/syn/languages","stargazers_url":"https://api.github.com/repos/dtolnay/syn/stargazers","contributors_url":"https://api.github.com/repos/dtolnay/syn/contributors","subscribers_url":"https://api.github.com/repos/dtolnay/syn/subscribers","subscription_url":"https://api.github.com/repos/dtolnay/syn/subscription","commits_url":"https://api.github.com/repos/dtolnay/syn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtolnay/syn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtolnay/syn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtolnay/syn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtolnay/syn/contents/{+path}","compare_url":"https://api.github.com/repos/dtolnay/syn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtolnay/syn/merges","archive_url":"https://api.github.com/repos/dtolnay/syn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtolnay/syn/downloads","issues_url":"https://api.github.com/repos/dtolnay/syn/issues{/number}","pulls_url":"https://api.github.com/repos/dtolnay/syn/pulls{/number}","milestones_url":"https://api.github.com/repos/dtolnay/syn/milestones{/number}","notifications_url":"https://api.github.com/repos/dtolnay/syn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtolnay/syn/labels{/name}","releases_url":"https://api.github.com/repos/dtolnay/syn/releases{/id}","deployments_url":"https://api.github.com/repos/dtolnay/syn/deployments","created_at":"2016-09-03T18:35:01Z","updated_at":"2017-12-05T19:04:08Z","pushed_at":"2017-12-05T18:46:13Z","git_url":"git://github.com/dtolnay/syn.git","ssh_url":"git@github.com:dtolnay/syn.git","clone_url":"https://github.com/dtolnay/syn.git","svn_url":"https://github.com/dtolnay/syn","homepage":"","size":2906,"stargazers_count":182,"watchers_count":182,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":43,"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":24,"open_issues":43,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dtolnay/syn/pulls/266"},"html":{"href":"https://github.com/dtolnay/syn/pull/266"},"issue":{"href":"https://api.github.com/repos/dtolnay/syn/issues/266"},"comments":{"href":"https://api.github.com/repos/dtolnay/syn/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/dtolnay/syn/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/dtolnay/syn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dtolnay/syn/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/dtolnay/syn/statuses/ae81b37f203f987ee083c058fb88612845997492"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":26,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"mystor"}}