{"id":28028343,"url":"https://github.com/pykeio/async-stream-lite","last_synced_at":"2025-05-11T07:09:52.141Z","repository":{"id":263199180,"uuid":"889363356","full_name":"pykeio/async-stream-lite","owner":"pykeio","description":"Proc macro-free async/await Rust streams","archived":false,"fork":false,"pushed_at":"2024-12-04T06:35:55.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T07:09:43.934Z","etag":null,"topics":["async-stream","rust","rust-async"],"latest_commit_sha":null,"homepage":"https://docs.rs/async-stream-lite","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pykeio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T07:12:27.000Z","updated_at":"2024-12-04T06:36:15.000Z","dependencies_parsed_at":"2024-11-16T22:39:17.043Z","dependency_job_id":"108670ed-d745-4b51-a0d0-a27a1bf24d89","html_url":"https://github.com/pykeio/async-stream-lite","commit_stats":null,"previous_names":["pykeio/async-stream-lite"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykeio%2Fasync-stream-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykeio%2Fasync-stream-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykeio%2Fasync-stream-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykeio%2Fasync-stream-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pykeio","download_url":"https://codeload.github.com/pykeio/async-stream-lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528973,"owners_count":21922636,"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":["async-stream","rust","rust-async"],"created_at":"2025-05-11T07:09:51.624Z","updated_at":"2025-05-11T07:09:52.133Z","avatar_url":"https://github.com/pykeio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `async-stream-lite`\nIt's [`async-stream`](https://lib.rs/crates/async-stream), but without proc macros.\n\n```rs\nuse async_stream_lite::async_stream;\n\nuse futures_util::{pin_mut, stream::StreamExt};\n\n#[tokio::main]\nasync fn main() {\n\tlet stream = async_stream(|yielder| async move {\n\t\tfor i in 0..3 {\n\t\t\tyielder.r#yield(i).await;\n\t\t}\n\t});\n\tpin_mut!(stream);\n\twhile let Some(value) = stream.next().await {\n\t\tprintln!(\"got {}\", value);\n\t}\n}\n```\n\n## `#![no_std]` support\n`async-stream-lite` supports `#![no_std]`, but requires `alloc`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpykeio%2Fasync-stream-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpykeio%2Fasync-stream-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpykeio%2Fasync-stream-lite/lists"}