Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

refactor: replace futures-async-stream with stable alternative asynk-strim#153

Merged
BugenZhao merged 2 commits into
mainfrom
bz/corresponding-skink
May 4, 2026
Merged

refactor: replace futures-async-stream with stable alternative asynk-strim#153
BugenZhao merged 2 commits into
mainfrom
bz/corresponding-skink

Conversation

@BugenZhao

@BugenZhao BugenZhao commented May 4, 2026

Copy link
Copy Markdown
Member

So that we can get rid of the unstable coroutines language feature in favor of switching to the stable toolchain.

asynk-strim itself is macro-free, but this PR uses an attr library asynk-strim-attr for minimal changes & indents.

…nk-strim`

Signed-off-by: Bugen Zhao <i@bugenzhao.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces the futures-async-stream dependency with asynk-strim-attr across the project, enabling the removal of the unstable coroutines feature. All asynchronous stream functions have been refactored to use the TryYielder pattern for emitting events. Feedback was provided regarding the use of a git dependency for asynk-strim-attr, suggesting that vendoring the code might be a safer alternative to ensure build reproducibility and security.

Comment thread Cargo.toml Outdated
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
@BugenZhao BugenZhao merged commit d2b4e69 into main May 4, 2026
3 checks passed
@BugenZhao BugenZhao deleted the bz/corresponding-skink branch May 4, 2026 07:31
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 13, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 13, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 13, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 19, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 21, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 21, 2026
BugenZhao added a commit to BugenZhao/vllm that referenced this pull request May 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant