{"action":"created","comment":{"url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/comments/238082161","pull_request_review_id":180544515,"id":238082161,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA4MjE2MQ==","diff_hunk":"@@ -0,0 +1,539 @@\n+use alloc::alloc::dealloc;\n+use core::alloc::Layout;\n+use core::fmt;\n+use core::marker::PhantomData;\n+use core::mem;\n+use core::ptr::NonNull;\n+\n+use rayon::iter::{\n+    plumbing::{self, Folder, UnindexedConsumer, UnindexedProducer},\n+    IntoParallelIterator, ParallelIterator,\n+};\n+\n+use raw::{RawIterRange, RawTable};\n+\n+\n+#[inline]\n+unsafe fn raw_iter_range_split_and_convert<T, P>(iter_range: RawIterRange<T>) -> (P, Option<P>)\n+where\n+    P: From<RawIterRange<T>>,\n+{\n+    let (left, right) = iter_range.split();\n+    (P::from(left), right.map(P::from))\n+}\n+\n+\n+/// Parallel iterator over shared references to entries in a map.\n+///\n+/// This iterator is created by the [`par_iter`] method on [`HashMap`]\n+/// (provided by the [`IntoParallelRefIterator`] trait).\n+/// See its documentation for more.\n+///\n+/// [`par_iter`]: /hashbrown/struct.HashMap.html#method.par_iter\n+/// [`HashMap`]: /hashbrown/struct.HashMap.html\n+/// [`IntoParallelRefIterator`]: https://docs.rs/rayon/1.0/rayon/iter/trait.IntoParallelRefIterator.html\n+pub struct ParIter<'a, K: 'a, V: 'a> {\n+    table: &'a RawTable<(K, V)>,\n+}\n+\n+impl<'a, K: Sync, V: Sync> IntoParallelIterator for &'a RawTable<(K, V)> {\n+    type Item = (&'a K, &'a V);\n+    type Iter = ParIter<'a, K, V>;\n+\n+    #[inline]\n+    fn into_par_iter(self) -> Self::Iter {\n+        ParIter { table: self }\n+    }\n+}\n+\n+unsafe impl<'a, K: Sync, V: Sync> Send for ParIter<'a, K, V> {}\n+\n+impl<'a, K: Sync, V: Sync> ParallelIterator for ParIter<'a, K, V> {\n+    type Item = (&'a K, &'a V);\n+\n+    fn drive_unindexed<C>(self, consumer: C) -> C::Result\n+        where C: UnindexedConsumer<Self::Item>\n+    {\n+        let buckets = unsafe { self.table.iter().iter };\n+        let producer = ParIterProducer::from(buckets);\n+        plumbing::bridge_unindexed(producer, consumer)\n+    }\n+}\n+\n+impl<'a, K, V> Clone for ParIter<'a, K, V> {\n+    fn clone(&self) -> Self {\n+        ParIter { table: &*self.table }\n+    }\n+}\n+\n+impl<'a, K: fmt::Debug, V: fmt::Debug> fmt::Debug for ParIter<'a, K, V> {\n+    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {\n+        let iter = unsafe { self.table.iter() };\n+        let entries = iter.map(|bucket| unsafe {\n+            let (ref k, ref v) = *bucket.as_ref();\n+            (k, v)\n+        });\n+\n+        f.debug_list().entries(entries).finish()\n+    }\n+}\n+\n+struct ParIterProducer<'a, K: 'a, V: 'a> {\n+    iter: RawIterRange<(K, V)>,\n+    marker: PhantomData<&'a ()>,\n+}\n+\n+impl<'a, K, V> From<RawIterRange<(K, V)>> for ParIterProducer<'a, K, V> {\n+    #[inline]\n+    fn from(iter: RawIterRange<(K, V)>) -> Self {\n+        Self { iter, marker: PhantomData }\n+    }\n+}\n+\n+unsafe impl<'a, K: Sync, V: Sync> Send for ParIterProducer<'a, K, V> {}\n+\n+impl<'a, K: Sync, V: Sync> UnindexedProducer for ParIterProducer<'a, K, V> {\n+    type Item = (&'a K, &'a V);\n+\n+    fn split(self) -> (Self, Option<Self>) {\n+        unsafe { raw_iter_range_split_and_convert(self.iter) }\n+    }\n+\n+    fn fold_with<F>(self, folder: F) -> F\n+        where F: Folder<Self::Item>\n+    {\n+        let iter = self.iter.map(|bucket| unsafe {\n+            let (ref k, ref v) = *bucket.as_ref();\n+            (k, v)\n+        });\n+        folder.consume_iter(iter)\n+    }\n+}\n+\n+\n+/// Parallel iterator over shared references to keys in a map.\n+///\n+/// This iterator is created by the [`par_keys`] method on [`HashMap`].\n+/// See its documentation for more.\n+///\n+/// [`par_keys`]: /hashbrown/struct.HashMap.html#method.par_keys\n+/// [`HashMap`]: /hashbrown/struct.HashMap.html\n+pub struct ParKeys<'a, K: 'a, V: 'a> {\n+    table: &'a RawTable<(K, V)>,\n+}\n+\n+impl<K: Sync, V> RawTable<(K, V)> {\n+    #[inline]\n+    pub fn par_keys(&self) -> ParKeys<K, V> {\n+        ParKeys { table: self }\n+    }\n+}\n+\n+unsafe impl<'a, K: Sync, V> Send for ParKeys<'a, K, V> {}\n+\n+impl<'a, K: Sync, V> ParallelIterator for ParKeys<'a, K, V> {\n+    type Item = &'a K;\n+\n+    fn drive_unindexed<C>(self, consumer: C) -> C::Result\n+    where\n+        C: UnindexedConsumer<Self::Item>,\n+    {\n+        let buckets = unsafe { self.table.iter().iter };\n+        let producer = ParKeysProducer::from(buckets);\n+        plumbing::bridge_unindexed(producer, consumer)\n+    }\n+}\n+\n+impl<'a, K, V> Clone for ParKeys<'a, K, V> {\n+    fn clone(&self) -> Self {\n+        ParKeys { table: &*self.table }\n+    }\n+}\n+\n+impl<'a, K: fmt::Debug, V> fmt::Debug for ParKeys<'a, K, V> {\n+    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {\n+        let iter = unsafe { self.table.iter() };\n+        let entries = iter.map(|bucket| unsafe {\n+            &bucket.as_ref().0\n+        });\n+\n+        f.debug_list().entries(entries).finish()\n+    }\n+}\n+\n+struct ParKeysProducer<'a, K: 'a, V: 'a> {\n+    iter: RawIterRange<(K, V)>,\n+    marker: PhantomData<&'a ()>,\n+}\n+\n+impl<'a, K, V> From<RawIterRange<(K, V)>> for ParKeysProducer<'a, K, V> {\n+    #[inline]\n+    fn from(iter: RawIterRange<(K, V)>) -> Self {\n+        Self { iter, marker: PhantomData }\n+    }\n+}\n+\n+unsafe impl<'a, K: Sync, V> Send for ParKeysProducer<'a, K, V> {}","path":"src/external_trait_impls/rayon/raw.rs","position":176,"original_position":176,"commit_id":"b915960588f19381eb662e2d8308ed6357052982","original_commit_id":"b915960588f19381eb662e2d8308ed6357052982","user":{"login":"Amanieu","id":278509,"node_id":"MDQ6VXNlcjI3ODUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/278509?v=4","gravatar_id":"","url":"https://api.github.com/users/Amanieu","html_url":"https://github.com/Amanieu","followers_url":"https://api.github.com/users/Amanieu/followers","following_url":"https://api.github.com/users/Amanieu/following{/other_user}","gists_url":"https://api.github.com/users/Amanieu/gists{/gist_id}","starred_url":"https://api.github.com/users/Amanieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amanieu/subscriptions","organizations_url":"https://api.github.com/users/Amanieu/orgs","repos_url":"https://api.github.com/users/Amanieu/repos","events_url":"https://api.github.com/users/Amanieu/events{/privacy}","received_events_url":"https://api.github.com/users/Amanieu/received_events","type":"User","site_admin":false},"body":"This will be implied by the `PhantomData` once you add it.","created_at":"2018-12-02T01:43:24Z","updated_at":"2018-12-02T01:43:24Z","html_url":"https://github.com/Amanieu/hashbrown/pull/30#discussion_r238082161","pull_request_url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/comments/238082161"},"html":{"href":"https://github.com/Amanieu/hashbrown/pull/30#discussion_r238082161"},"pull_request":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30","id":232110713,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTEwNzEz","html_url":"https://github.com/Amanieu/hashbrown/pull/30","diff_url":"https://github.com/Amanieu/hashbrown/pull/30.diff","patch_url":"https://github.com/Amanieu/hashbrown/pull/30.patch","issue_url":"https://api.github.com/repos/Amanieu/hashbrown/issues/30","number":30,"state":"open","locked":false,"title":"Add Rayon support","user":{"login":"hcpl","id":17436405,"node_id":"MDQ6VXNlcjE3NDM2NDA1","avatar_url":"https://avatars3.githubusercontent.com/u/17436405?v=4","gravatar_id":"","url":"https://api.github.com/users/hcpl","html_url":"https://github.com/hcpl","followers_url":"https://api.github.com/users/hcpl/followers","following_url":"https://api.github.com/users/hcpl/following{/other_user}","gists_url":"https://api.github.com/users/hcpl/gists{/gist_id}","starred_url":"https://api.github.com/users/hcpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcpl/subscriptions","organizations_url":"https://api.github.com/users/hcpl/orgs","repos_url":"https://api.github.com/users/hcpl/repos","events_url":"https://api.github.com/users/hcpl/events{/privacy}","received_events_url":"https://api.github.com/users/hcpl/received_events","type":"User","site_admin":false},"body":"The code is adapted from `rayon-hash` to match the internal structure of SwissTables.\r\n\r\nCompared to `rayon-hash` this implementation adds an `impl Send` for `ParIter` and `Debug` impls for parallel iterators to mirror iterators from `std::collections::{hash_map, hash_set}` and `hashbrown::{hash_map, hash_set}`.\r\n\r\nThe tests pass right now, but there are a couple of questions/potential improvements I would like to see resolved before merging --- mostly about correctness of everything in `external_crate_impls::rayon::raw`.\r\n\r\nI tried to reduce usage of unsafe code from the beginning, so the only unsafe operations left are checking & setting bucket emptiness, getting references & values from buckets, setting `RawTable.items` field and manual impls of `Send`:\r\n- I ended up writing a custom iterator over non-empty buckets in a raw table to emulate the approach from `rayon-hash`. Should I have reused `RawIter` and `RawIntoIter` instead?\r\n- Manual `Send` impls. I have zero experience doing this, so I had to make some guesses based on `Send` and `Sync` docs + `rayon-hash` code.\r\n  From what I could gather, any (only parallel? or sequential too?) iterator should `impl Send` iff:\r\n  + Values the iterator returns immutable/shared references of are `Sync`.\r\n  + Values the iterator returns mutable/unique references of are `Send`.\r\n  + Values the iterator returns directly (by-value) are `Send`.\r\n  E.g. `ParIterMut<'a, K, V>` is an `Iterator<Item = (&'a K, &'a mut V)>`, so the impl is\r\n  ```rust\r\n  unsafe impl<'a, K: Sync, V: Send> Send for ParIterMut<'a, K, V> {}\r\n  ```\r\n- `IntoParIter` relies on a sequence of events to work and I'm not sure if doing so is memory-safe/non-UB:\r\n  + Set `RawTable.items` to 0 without doing any cleanup.\r\n  + Iterate over all non-empty buckets. While doing so, set their control bytes to `EMPTY` and also read the value to pass to the folder.\r\n  + Rely on the default `Drop` impl for `IntoParIter` which will drop the inner table.\r\n\r\nThe point about manual `Send` impls is also applicable for `HashSet` parallel iterators.\r\n\r\ncc @cuviper","created_at":"2018-11-19T21:02:36Z","updated_at":"2018-12-02T01:43:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5b6c4c3926f90f4c6ff2f335f7b7769e630f8f7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30/commits","review_comments_url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30/comments","review_comment_url":"https://api.github.com/repos/Amanieu/hashbrown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Amanieu/hashbrown/issues/30/comments","statuses_url":"https://api.github.com/repos/Amanieu/hashbrown/statuses/b915960588f19381eb662e2d8308ed6357052982","head":{"label":"hcpl:rayon-support","ref":"rayon-support","sha":"b915960588f19381eb662e2d8308ed6357052982","user":{"login":"hcpl","id":17436405,"node_id":"MDQ6VXNlcjE3NDM2NDA1","avatar_url":"https://avatars3.githubusercontent.com/u/17436405?v=4","gravatar_id":"","url":"https://api.github.com/users/hcpl","html_url":"https://github.com/hcpl","followers_url":"https://api.github.com/users/hcpl/followers","following_url":"https://api.github.com/users/hcpl/following{/other_user}","gists_url":"https://api.github.com/users/hcpl/gists{/gist_id}","starred_url":"https://api.github.com/users/hcpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcpl/subscriptions","organizations_url":"https://api.github.com/users/hcpl/orgs","repos_url":"https://api.github.com/users/hcpl/repos","events_url":"https://api.github.com/users/hcpl/events{/privacy}","received_events_url":"https://api.github.com/users/hcpl/received_events","type":"User","site_admin":false},"repo":{"id":155472793,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU0NzI3OTM=","name":"hashbrown","full_name":"hcpl/hashbrown","private":false,"owner":{"login":"hcpl","id":17436405,"node_id":"MDQ6VXNlcjE3NDM2NDA1","avatar_url":"https://avatars3.githubusercontent.com/u/17436405?v=4","gravatar_id":"","url":"https://api.github.com/users/hcpl","html_url":"https://github.com/hcpl","followers_url":"https://api.github.com/users/hcpl/followers","following_url":"https://api.github.com/users/hcpl/following{/other_user}","gists_url":"https://api.github.com/users/hcpl/gists{/gist_id}","starred_url":"https://api.github.com/users/hcpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcpl/subscriptions","organizations_url":"https://api.github.com/users/hcpl/orgs","repos_url":"https://api.github.com/users/hcpl/repos","events_url":"https://api.github.com/users/hcpl/events{/privacy}","received_events_url":"https://api.github.com/users/hcpl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hcpl/hashbrown","description":"A faster HashMap for Rust","fork":true,"url":"https://api.github.com/repos/hcpl/hashbrown","forks_url":"https://api.github.com/repos/hcpl/hashbrown/forks","keys_url":"https://api.github.com/repos/hcpl/hashbrown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hcpl/hashbrown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hcpl/hashbrown/teams","hooks_url":"https://api.github.com/repos/hcpl/hashbrown/hooks","issue_events_url":"https://api.github.com/repos/hcpl/hashbrown/issues/events{/number}","events_url":"https://api.github.com/repos/hcpl/hashbrown/events","assignees_url":"https://api.github.com/repos/hcpl/hashbrown/assignees{/user}","branches_url":"https://api.github.com/repos/hcpl/hashbrown/branches{/branch}","tags_url":"https://api.github.com/repos/hcpl/hashbrown/tags","blobs_url":"https://api.github.com/repos/hcpl/hashbrown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hcpl/hashbrown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hcpl/hashbrown/git/refs{/sha}","trees_url":"https://api.github.com/repos/hcpl/hashbrown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hcpl/hashbrown/statuses/{sha}","languages_url":"https://api.github.com/repos/hcpl/hashbrown/languages","stargazers_url":"https://api.github.com/repos/hcpl/hashbrown/stargazers","contributors_url":"https://api.github.com/repos/hcpl/hashbrown/contributors","subscribers_url":"https://api.github.com/repos/hcpl/hashbrown/subscribers","subscription_url":"https://api.github.com/repos/hcpl/hashbrown/subscription","commits_url":"https://api.github.com/repos/hcpl/hashbrown/commits{/sha}","git_commits_url":"https://api.github.com/repos/hcpl/hashbrown/git/commits{/sha}","comments_url":"https://api.github.com/repos/hcpl/hashbrown/comments{/number}","issue_comment_url":"https://api.github.com/repos/hcpl/hashbrown/issues/comments{/number}","contents_url":"https://api.github.com/repos/hcpl/hashbrown/contents/{+path}","compare_url":"https://api.github.com/repos/hcpl/hashbrown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hcpl/hashbrown/merges","archive_url":"https://api.github.com/repos/hcpl/hashbrown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hcpl/hashbrown/downloads","issues_url":"https://api.github.com/repos/hcpl/hashbrown/issues{/number}","pulls_url":"https://api.github.com/repos/hcpl/hashbrown/pulls{/number}","milestones_url":"https://api.github.com/repos/hcpl/hashbrown/milestones{/number}","notifications_url":"https://api.github.com/repos/hcpl/hashbrown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hcpl/hashbrown/labels{/name}","releases_url":"https://api.github.com/repos/hcpl/hashbrown/releases{/id}","deployments_url":"https://api.github.com/repos/hcpl/hashbrown/deployments","created_at":"2018-10-31T00:05:42Z","updated_at":"2018-11-30T17:16:26Z","pushed_at":"2018-12-01T02:41:11Z","git_url":"git://github.com/hcpl/hashbrown.git","ssh_url":"git@github.com:hcpl/hashbrown.git","clone_url":"https://github.com/hcpl/hashbrown.git","svn_url":"https://github.com/hcpl/hashbrown","homepage":null,"size":110,"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":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Amanieu:master","ref":"master","sha":"63aa152cfd3b3690b69c3f8afd14f4904edb38cf","user":{"login":"Amanieu","id":278509,"node_id":"MDQ6VXNlcjI3ODUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/278509?v=4","gravatar_id":"","url":"https://api.github.com/users/Amanieu","html_url":"https://github.com/Amanieu","followers_url":"https://api.github.com/users/Amanieu/followers","following_url":"https://api.github.com/users/Amanieu/following{/other_user}","gists_url":"https://api.github.com/users/Amanieu/gists{/gist_id}","starred_url":"https://api.github.com/users/Amanieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amanieu/subscriptions","organizations_url":"https://api.github.com/users/Amanieu/orgs","repos_url":"https://api.github.com/users/Amanieu/repos","events_url":"https://api.github.com/users/Amanieu/events{/privacy}","received_events_url":"https://api.github.com/users/Amanieu/received_events","type":"User","site_admin":false},"repo":{"id":155119796,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMTk3OTY=","name":"hashbrown","full_name":"Amanieu/hashbrown","private":false,"owner":{"login":"Amanieu","id":278509,"node_id":"MDQ6VXNlcjI3ODUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/278509?v=4","gravatar_id":"","url":"https://api.github.com/users/Amanieu","html_url":"https://github.com/Amanieu","followers_url":"https://api.github.com/users/Amanieu/followers","following_url":"https://api.github.com/users/Amanieu/following{/other_user}","gists_url":"https://api.github.com/users/Amanieu/gists{/gist_id}","starred_url":"https://api.github.com/users/Amanieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amanieu/subscriptions","organizations_url":"https://api.github.com/users/Amanieu/orgs","repos_url":"https://api.github.com/users/Amanieu/repos","events_url":"https://api.github.com/users/Amanieu/events{/privacy}","received_events_url":"https://api.github.com/users/Amanieu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Amanieu/hashbrown","description":"Rust port of Google's SwissTable hash map","fork":false,"url":"https://api.github.com/repos/Amanieu/hashbrown","forks_url":"https://api.github.com/repos/Amanieu/hashbrown/forks","keys_url":"https://api.github.com/repos/Amanieu/hashbrown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amanieu/hashbrown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amanieu/hashbrown/teams","hooks_url":"https://api.github.com/repos/Amanieu/hashbrown/hooks","issue_events_url":"https://api.github.com/repos/Amanieu/hashbrown/issues/events{/number}","events_url":"https://api.github.com/repos/Amanieu/hashbrown/events","assignees_url":"https://api.github.com/repos/Amanieu/hashbrown/assignees{/user}","branches_url":"https://api.github.com/repos/Amanieu/hashbrown/branches{/branch}","tags_url":"https://api.github.com/repos/Amanieu/hashbrown/tags","blobs_url":"https://api.github.com/repos/Amanieu/hashbrown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amanieu/hashbrown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amanieu/hashbrown/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amanieu/hashbrown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amanieu/hashbrown/statuses/{sha}","languages_url":"https://api.github.com/repos/Amanieu/hashbrown/languages","stargazers_url":"https://api.github.com/repos/Amanieu/hashbrown/stargazers","contributors_url":"https://api.github.com/repos/Amanieu/hashbrown/contributors","subscribers_url":"https://api.github.com/repos/Amanieu/hashbrown/subscribers","subscription_url":"https://api.github.com/repos/Amanieu/hashbrown/subscription","commits_url":"https://api.github.com/repos/Amanieu/hashbrown/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amanieu/hashbrown/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amanieu/hashbrown/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amanieu/hashbrown/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amanieu/hashbrown/contents/{+path}","compare_url":"https://api.github.com/repos/Amanieu/hashbrown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amanieu/hashbrown/merges","archive_url":"https://api.github.com/repos/Amanieu/hashbrown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amanieu/hashbrown/downloads","issues_url":"https://api.github.com/repos/Amanieu/hashbrown/issues{/number}","pulls_url":"https://api.github.com/repos/Amanieu/hashbrown/pulls{/number}","milestones_url":"https://api.github.com/repos/Amanieu/hashbrown/milestones{/number}","notifications_url":"https://api.github.com/repos/Amanieu/hashbrown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amanieu/hashbrown/labels{/name}","releases_url":"https://api.github.com/repos/Amanieu/hashbrown/releases{/id}","deployments_url":"https://api.github.com/repos/Amanieu/hashbrown/deployments","created_at":"2018-10-28T21:58:58Z","updated_at":"2018-12-01T18:39:19Z","pushed_at":"2018-12-01T02:41:12Z","git_url":"git://github.com/Amanieu/hashbrown.git","ssh_url":"git@github.com:Amanieu/hashbrown.git","clone_url":"https://github.com/Amanieu/hashbrown.git","svn_url":"https://github.com/Amanieu/hashbrown","homepage":"","size":99,"stargazers_count":515,"watchers_count":515,"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":7,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":15,"open_issues":7,"watchers":515,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30"},"html":{"href":"https://github.com/Amanieu/hashbrown/pull/30"},"issue":{"href":"https://api.github.com/repos/Amanieu/hashbrown/issues/30"},"comments":{"href":"https://api.github.com/repos/Amanieu/hashbrown/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Amanieu/hashbrown/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/Amanieu/hashbrown/statuses/b915960588f19381eb662e2d8308ed6357052982"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Amanieu"}}