{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26","id":32179781,"html_url":"https://github.com/jgallagher/rusqlite/pull/26","diff_url":"https://github.com/jgallagher/rusqlite/pull/26.diff","patch_url":"https://github.com/jgallagher/rusqlite/pull/26.patch","issue_url":"https://api.github.com/repos/jgallagher/rusqlite/issues/26","number":26,"state":"closed","locked":false,"title":"Use `std::ptr::Unique` to ensure SqliteConnection is Send.","user":{"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},"body":"Semantically the C resource is owned by the SqliteConnection, so Unique\r\nis correct. Being Send is safe because sqlite3 can only possibly be\r\nthread unsafe in cases when there is simultaneous access from multiple\r\nthreads, but transferring ownership between threads doesn't allow that\r\nto occur.","created_at":"2015-03-29T10:57:51Z","updated_at":"2015-03-29T16:51:22Z","closed_at":"2015-03-29T16:51:22Z","merged_at":"2015-03-29T16:51:22Z","merge_commit_sha":"e71e4c61d1555a6db22f0d8bce6f3ee131e2144a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26/commits","review_comments_url":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26/comments","review_comment_url":"https://api.github.com/repos/jgallagher/rusqlite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jgallagher/rusqlite/issues/26/comments","statuses_url":"https://api.github.com/repos/jgallagher/rusqlite/statuses/57ca5f3b515fb8a28c8cb5d369176b39e8a9b84a","head":{"label":"huonw:send","ref":"send","sha":"57ca5f3b515fb8a28c8cb5d369176b39e8a9b84a","user":{"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},"repo":{"id":33068859,"name":"rusqlite","full_name":"huonw/rusqlite","owner":{"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},"private":false,"html_url":"https://github.com/huonw/rusqlite","description":"Ergonomic, semi-safe bindings to SQLite for Rust","fork":true,"url":"https://api.github.com/repos/huonw/rusqlite","forks_url":"https://api.github.com/repos/huonw/rusqlite/forks","keys_url":"https://api.github.com/repos/huonw/rusqlite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huonw/rusqlite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huonw/rusqlite/teams","hooks_url":"https://api.github.com/repos/huonw/rusqlite/hooks","issue_events_url":"https://api.github.com/repos/huonw/rusqlite/issues/events{/number}","events_url":"https://api.github.com/repos/huonw/rusqlite/events","assignees_url":"https://api.github.com/repos/huonw/rusqlite/assignees{/user}","branches_url":"https://api.github.com/repos/huonw/rusqlite/branches{/branch}","tags_url":"https://api.github.com/repos/huonw/rusqlite/tags","blobs_url":"https://api.github.com/repos/huonw/rusqlite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huonw/rusqlite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huonw/rusqlite/git/refs{/sha}","trees_url":"https://api.github.com/repos/huonw/rusqlite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huonw/rusqlite/statuses/{sha}","languages_url":"https://api.github.com/repos/huonw/rusqlite/languages","stargazers_url":"https://api.github.com/repos/huonw/rusqlite/stargazers","contributors_url":"https://api.github.com/repos/huonw/rusqlite/contributors","subscribers_url":"https://api.github.com/repos/huonw/rusqlite/subscribers","subscription_url":"https://api.github.com/repos/huonw/rusqlite/subscription","commits_url":"https://api.github.com/repos/huonw/rusqlite/commits{/sha}","git_commits_url":"https://api.github.com/repos/huonw/rusqlite/git/commits{/sha}","comments_url":"https://api.github.com/repos/huonw/rusqlite/comments{/number}","issue_comment_url":"https://api.github.com/repos/huonw/rusqlite/issues/comments{/number}","contents_url":"https://api.github.com/repos/huonw/rusqlite/contents/{+path}","compare_url":"https://api.github.com/repos/huonw/rusqlite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huonw/rusqlite/merges","archive_url":"https://api.github.com/repos/huonw/rusqlite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huonw/rusqlite/downloads","issues_url":"https://api.github.com/repos/huonw/rusqlite/issues{/number}","pulls_url":"https://api.github.com/repos/huonw/rusqlite/pulls{/number}","milestones_url":"https://api.github.com/repos/huonw/rusqlite/milestones{/number}","notifications_url":"https://api.github.com/repos/huonw/rusqlite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huonw/rusqlite/labels{/name}","releases_url":"https://api.github.com/repos/huonw/rusqlite/releases{/id}","created_at":"2015-03-29T10:18:48Z","updated_at":"2015-03-29T10:18:49Z","pushed_at":"2015-03-29T10:29:00Z","git_url":"git://github.com/huonw/rusqlite.git","ssh_url":"git@github.com:huonw/rusqlite.git","clone_url":"https://github.com/huonw/rusqlite.git","svn_url":"https://github.com/huonw/rusqlite","homepage":null,"size":624,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jgallagher:master","ref":"master","sha":"4b085b9103e73029451c8a8382e4d0d2e4323fce","user":{"login":"jgallagher","id":1435635,"avatar_url":"https://avatars.githubusercontent.com/u/1435635?v=3","gravatar_id":"","url":"https://api.github.com/users/jgallagher","html_url":"https://github.com/jgallagher","followers_url":"https://api.github.com/users/jgallagher/followers","following_url":"https://api.github.com/users/jgallagher/following{/other_user}","gists_url":"https://api.github.com/users/jgallagher/gists{/gist_id}","starred_url":"https://api.github.com/users/jgallagher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgallagher/subscriptions","organizations_url":"https://api.github.com/users/jgallagher/orgs","repos_url":"https://api.github.com/users/jgallagher/repos","events_url":"https://api.github.com/users/jgallagher/events{/privacy}","received_events_url":"https://api.github.com/users/jgallagher/received_events","type":"User","site_admin":false},"repo":{"id":26177824,"name":"rusqlite","full_name":"jgallagher/rusqlite","owner":{"login":"jgallagher","id":1435635,"avatar_url":"https://avatars.githubusercontent.com/u/1435635?v=3","gravatar_id":"","url":"https://api.github.com/users/jgallagher","html_url":"https://github.com/jgallagher","followers_url":"https://api.github.com/users/jgallagher/followers","following_url":"https://api.github.com/users/jgallagher/following{/other_user}","gists_url":"https://api.github.com/users/jgallagher/gists{/gist_id}","starred_url":"https://api.github.com/users/jgallagher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgallagher/subscriptions","organizations_url":"https://api.github.com/users/jgallagher/orgs","repos_url":"https://api.github.com/users/jgallagher/repos","events_url":"https://api.github.com/users/jgallagher/events{/privacy}","received_events_url":"https://api.github.com/users/jgallagher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgallagher/rusqlite","description":"Ergonomic, semi-safe bindings to SQLite for Rust","fork":false,"url":"https://api.github.com/repos/jgallagher/rusqlite","forks_url":"https://api.github.com/repos/jgallagher/rusqlite/forks","keys_url":"https://api.github.com/repos/jgallagher/rusqlite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgallagher/rusqlite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgallagher/rusqlite/teams","hooks_url":"https://api.github.com/repos/jgallagher/rusqlite/hooks","issue_events_url":"https://api.github.com/repos/jgallagher/rusqlite/issues/events{/number}","events_url":"https://api.github.com/repos/jgallagher/rusqlite/events","assignees_url":"https://api.github.com/repos/jgallagher/rusqlite/assignees{/user}","branches_url":"https://api.github.com/repos/jgallagher/rusqlite/branches{/branch}","tags_url":"https://api.github.com/repos/jgallagher/rusqlite/tags","blobs_url":"https://api.github.com/repos/jgallagher/rusqlite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgallagher/rusqlite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgallagher/rusqlite/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgallagher/rusqlite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgallagher/rusqlite/statuses/{sha}","languages_url":"https://api.github.com/repos/jgallagher/rusqlite/languages","stargazers_url":"https://api.github.com/repos/jgallagher/rusqlite/stargazers","contributors_url":"https://api.github.com/repos/jgallagher/rusqlite/contributors","subscribers_url":"https://api.github.com/repos/jgallagher/rusqlite/subscribers","subscription_url":"https://api.github.com/repos/jgallagher/rusqlite/subscription","commits_url":"https://api.github.com/repos/jgallagher/rusqlite/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgallagher/rusqlite/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgallagher/rusqlite/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgallagher/rusqlite/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgallagher/rusqlite/contents/{+path}","compare_url":"https://api.github.com/repos/jgallagher/rusqlite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgallagher/rusqlite/merges","archive_url":"https://api.github.com/repos/jgallagher/rusqlite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgallagher/rusqlite/downloads","issues_url":"https://api.github.com/repos/jgallagher/rusqlite/issues{/number}","pulls_url":"https://api.github.com/repos/jgallagher/rusqlite/pulls{/number}","milestones_url":"https://api.github.com/repos/jgallagher/rusqlite/milestones{/number}","notifications_url":"https://api.github.com/repos/jgallagher/rusqlite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgallagher/rusqlite/labels{/name}","releases_url":"https://api.github.com/repos/jgallagher/rusqlite/releases{/id}","created_at":"2014-11-04T16:32:36Z","updated_at":"2015-03-29T03:09:42Z","pushed_at":"2015-03-29T16:51:22Z","git_url":"git://github.com/jgallagher/rusqlite.git","ssh_url":"git@github.com:jgallagher/rusqlite.git","clone_url":"https://github.com/jgallagher/rusqlite.git","svn_url":"https://github.com/jgallagher/rusqlite","homepage":null,"size":624,"stargazers_count":20,"watchers_count":20,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26"},"html":{"href":"https://github.com/jgallagher/rusqlite/pull/26"},"issue":{"href":"https://api.github.com/repos/jgallagher/rusqlite/issues/26"},"comments":{"href":"https://api.github.com/repos/jgallagher/rusqlite/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/jgallagher/rusqlite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jgallagher/rusqlite/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/jgallagher/rusqlite/statuses/57ca5f3b515fb8a28c8cb5d369176b39e8a9b84a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jgallagher","id":1435635,"avatar_url":"https://avatars.githubusercontent.com/u/1435635?v=3","gravatar_id":"","url":"https://api.github.com/users/jgallagher","html_url":"https://github.com/jgallagher","followers_url":"https://api.github.com/users/jgallagher/followers","following_url":"https://api.github.com/users/jgallagher/following{/other_user}","gists_url":"https://api.github.com/users/jgallagher/gists{/gist_id}","starred_url":"https://api.github.com/users/jgallagher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgallagher/subscriptions","organizations_url":"https://api.github.com/users/jgallagher/orgs","repos_url":"https://api.github.com/users/jgallagher/repos","events_url":"https://api.github.com/users/jgallagher/events{/privacy}","received_events_url":"https://api.github.com/users/jgallagher/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":26,"deletions":12,"changed_files":1}}