refactor(deps): migrate from discontinued async-std to smol#84
Merged
Conversation
async-std was officially discontinued on 2025-03-01 and upstream points all users at smol, the executor it was already built on. Two smol behaviours that async-std papered over and that the diff depends on: 1. A smol Task cancels when its handle drops, so the statsd listener and the timeout task are `.detach()`ed to stay fire-and-forget. 2. async-process drives its reaper thread from Child creation, so child `.status()` is awaited under a plain `block_on` with no executor wired up. Net ~19 fewer transitive crates in the dependency tree. Refs: https://github.com/async-rs/async-std
BridgeAR
force-pushed
the
BridgeAR/2026-06-12-async-std-to-smol
branch
from
June 16, 2026 13:30
224a6b5 to
ea9647d
Compare
BridgeAR
marked this pull request as ready for review
June 16, 2026 13:48
bengl
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
async-stdwas officially discontinued on 2025-03-01; upstream points all users atsmol, the executor async-std was already built on. This swaps the runtime tosmolwith no behaviour change.Two
smolsemantics differ fromasync-stdand shape the diff:smolTaskcancels when its handle drops, so the statsd listener and the timeout task are.detach()ed to stay fire-and-forget.async-processdrives its reaper thread fromChildcreation, sochild.status()is awaited under a plainblock_onwith no executor wired up.Net ~19 fewer transitive crates in the dependency tree.
Note
Stacked on #79 — base is
BridgeAR/2026-06-03-dep-updates; merge after #79 lands.Test plan
cargo teston macOS and Ubuntu — 24 example tests, includingservice/assigned_port/timeout/ready_signal_*/summarize, which exercise the spawned listener, timer task, pipe read, and stdin path under the new runtimecargo clippy --all-targetsRefs: https://github.com/async-rs/async-std