{"id":16936410,"url":"https://github.com/jonhoo/strawpoll","last_synced_at":"2025-04-09T23:16:46.400Z","repository":{"id":57668766,"uuid":"238279043","full_name":"jonhoo/strawpoll","owner":"jonhoo","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-31T10:16:55.000Z","size":96,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T23:16:42.570Z","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/jonhoo.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":"2020-02-04T18:43:32.000Z","updated_at":"2025-01-03T04:22:17.000Z","dependencies_parsed_at":"2024-10-28T13:18:40.014Z","dependency_job_id":"da07e0bb-1478-494b-83c9-6c35161e7c18","html_url":"https://github.com/jonhoo/strawpoll","commit_stats":{"total_commits":85,"total_committers":5,"mean_commits":17.0,"dds":"0.16470588235294115","last_synced_commit":"8f9234720dc797f2c065f5feef82e6c80b0430fd"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fstrawpoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fstrawpoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fstrawpoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fstrawpoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonhoo","download_url":"https://codeload.github.com/jonhoo/strawpoll/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"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-13T20:56:53.636Z","updated_at":"2025-04-09T23:16:46.381Z","avatar_url":"https://github.com/jonhoo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/strawpoll.svg)](https://crates.io/crates/strawpoll)\n[![Documentation](https://docs.rs/strawpoll/badge.svg)](https://docs.rs/strawpoll/)\n[![codecov](https://codecov.io/gh/jonhoo/strawpoll/graph/badge.svg?token=jU5cOhucOv)](https://codecov.io/gh/jonhoo/strawpoll)\n\n---\n\nStrawpoll — a wrapper to avoid spurious polling.\n\nSometimes, you have a future that itself contains smaller futures. When\nthe larger future is polled, it polls those child futures to see if any\nof them have made progress. This can be inefficient if polling such a\nfuture is expensive; when the big future is woken up, it is usually\nbecause _one_ of its child futures was notified, and ideally only that\none future should be polled. Polling the other child futures that were\n_not_ notified is wasting precious cycles. This crate provides a wrapper\nfor `Future` types, and other types that you may wish to call\n`poll`-like methods on that avoids such spurious calls to `poll`.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\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\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fstrawpoll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonhoo%2Fstrawpoll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fstrawpoll/lists"}