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.
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 the tokio feature).
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.