Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not quite yet. Crates like reqwest and hyper tend to use tokio's io types internally to set up the sockets correctly and send/receive data at the right time. Those might have different APIs than the thread-pausing sync APIs.

Sans-IO crates exist but are kind of annoying to schedule correctly on an IO runtime of choice. Maybe lending iterators could help idk





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: