{"id":16116931,"url":"https://github.com/ralith/timer-queue","last_synced_at":"2025-10-13T00:20:57.255Z","repository":{"id":60327264,"uuid":"542400525","full_name":"Ralith/timer-queue","owner":"Ralith","description":"Pure, minimal, and scalable timers","archived":false,"fork":false,"pushed_at":"2025-01-14T05:30:09.000Z","size":17,"stargazers_count":26,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-26T21:27:11.229Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ralith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-28T04:05:12.000Z","updated_at":"2025-01-14T05:30:13.000Z","dependencies_parsed_at":"2025-01-14T06:39:58.692Z","dependency_job_id":null,"html_url":"https://github.com/Ralith/timer-queue","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"49617370e2fbb789c90e67122fb31fb468bd1a49"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ralith/timer-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralith%2Ftimer-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralith%2Ftimer-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralith%2Ftimer-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralith%2Ftimer-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ralith","download_url":"https://codeload.github.com/Ralith/timer-queue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralith%2Ftimer-queue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013624,"owners_count":26085298,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T20:27:12.831Z","updated_at":"2025-10-13T00:20:57.239Z","avatar_url":"https://github.com/Ralith.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timer-queue\n\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE-APACHE)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE-MIT)\n[![License: Zlib](https://img.shields.io/badge/License-Zlib-blue.svg)](LICENSE-ZLIB)\n\nA pure, minimal, and scalable structure for tracking expiration of timers\n\n```rust\nlet mut q = TimerQueue::new();\nq.insert(42, \"second\");\nq.insert(17, \"first\");\nassert!(q.next_timeout().unwrap() \u003c= 17);\nassert_eq!(q.poll(16), None);\nassert_eq!(q.poll(17), Some(\"first\"));\nassert_eq!(q.poll(100), Some(\"second\"));\n```\n\n## License\n\nLicensed under any of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n * Zlib license ([LICENSE-ZLIB](LICENSE-ZLIB) or\n   https://opensource.org/licenses/Zlib)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ntriple licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralith%2Ftimer-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralith%2Ftimer-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralith%2Ftimer-queue/lists"}