13

For my library, I want to replace async_std by smol, since the former has been deprecated in favor of the latter. This is mostly just a simple translation (different module structure, names etc.), but what I don't know is how to replace async-std's stdin. Anybody got a hint on that?

you are viewing a single comment's thread
view the rest of the comments
[-] KillTheMule@programming.dev 5 points 3 weeks ago

Oh yeah, the docs even mention Unblock<Stdin> explicitely. Thanks a lot!

this post was submitted on 23 Mar 2025
13 points (100.0% liked)

Rust

6795 readers
36 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS