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
[–] [email protected] 6 points 1 year ago (2 children)

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.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

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

async-std is dead.

[–] [email protected] 1 points 1 year ago

I think it's something being worked on. Unfortunately I can't recall the details offhand.