{"id":16753547,"url":"https://github.com/cgaebel/cloq","last_synced_at":"2025-03-16T05:41:06.597Z","repository":{"id":19999684,"uuid":"23267094","full_name":"cgaebel/cloq","owner":"cgaebel","description":"A queue of unboxed closures.","archived":false,"fork":false,"pushed_at":"2014-10-27T18:18:48.000Z","size":284,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T18:11:40.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cgaebel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-23T21:53:45.000Z","updated_at":"2015-02-14T21:31:35.000Z","dependencies_parsed_at":"2022-08-27T04:02:10.577Z","dependency_job_id":null,"html_url":"https://github.com/cgaebel/cloq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgaebel%2Fcloq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgaebel%2Fcloq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgaebel%2Fcloq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgaebel%2Fcloq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgaebel","download_url":"https://codeload.github.com/cgaebel/cloq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830922,"owners_count":20354850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T02:50:28.944Z","updated_at":"2025-03-16T05:41:06.580Z","avatar_url":"https://github.com/cgaebel.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"CloQ\n====\n\nHave you ever wanted to express the idea of \"I want to run this piece of code later\" in rust?\nUnless you `Box` your closures, it's very hard to create architectures based on scheduling\nwork to be executed later. `CloQ` fixes this.\n\nA `CloQ` is a queue of unboxed closures. It's a great basic abstraction around work queues,\nand take an amortized ~10 ns to push and ~10 ns to pop on my machine. This also allows you to\navoid allocating your closures on the heap. The stack-allocated, unboxed closure will be copied\ninto an internal buffer when pushed, and never copied out.\n\nPlease check out the rustdoc (`cargo doc` after cloning) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgaebel%2Fcloq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgaebel%2Fcloq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgaebel%2Fcloq/lists"}