this post was submitted on 09 Sep 2023
40 points (97.6% liked)
Rust Programming
8126 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I would really wish that the async ecosystem would not be based around runtimes, but would separate runtimes from async libraries. Like let me do file IO async without having to choose between async-std, Tokio, or whatnot for that.
Practically speaking, you don't have to.
Your executor of choice should be doing
tokio
compat for you, one way or another, so you don't have to worry about it (e.g. async-global-executor with thetokio
feature).async-std
is dead.I think it's something being worked on. Unfortunately I can't recall the details offhand.