{"id":16915780,"url":"https://github.com/zesterer/async-priority-queue","last_synced_at":"2025-04-11T11:31:26.269Z","repository":{"id":57500680,"uuid":"329367760","full_name":"zesterer/async-priority-queue","owner":"zesterer","description":"An async-aware priority queue","archived":false,"fork":false,"pushed_at":"2021-01-13T19:27:00.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T13:21:16.205Z","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/zesterer.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":"2021-01-13T16:31:55.000Z","updated_at":"2023-09-20T13:57:20.000Z","dependencies_parsed_at":"2022-08-30T20:10:24.482Z","dependency_job_id":null,"html_url":"https://github.com/zesterer/async-priority-queue","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/zesterer%2Fasync-priority-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fasync-priority-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fasync-priority-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fasync-priority-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zesterer","download_url":"https://codeload.github.com/zesterer/async-priority-queue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248383943,"owners_count":21094639,"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-13T19:22:35.997Z","updated_at":"2025-04-11T11:31:25.975Z","avatar_url":"https://github.com/zesterer.png","language":"Rust","readme":"# `async-priority-queue`\n\n[![crates.io](https://img.shields.io/crates/v/async-priority-queue.svg)](https://crates.io/crates/async-priority-queue)\n[![crates.io](https://docs.rs/async-priority-queue/badge.svg)](https://docs.rs/async-priority-queue)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/zesterer/async-priority-queue)\n\nAn async-aware priority queue.\n\n## Example\n\n```rust\nlet queue = PriorityQueue::new();\n\nqueue.push(2);\nqueue.push(1);\nqueue.push(3);\n\nassert_eq!(queue.pop().await, 3);\nassert_eq!(queue.pop().await, 2);\nassert_eq!(queue.pop().await, 1);\n```\n\n## License\n\nI originally wrote this crate during employment by IOTA Stiftung. IOTA still legally owns the code, but it was licensed\nunder Apache 2.0, meaning that I have the right to modify and redistribute it under my own name.\n\n`async-priority-queue` is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) (see `LICENSE`).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzesterer%2Fasync-priority-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzesterer%2Fasync-priority-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzesterer%2Fasync-priority-queue/lists"}