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

reqwest also has a blocking version, which I use in projects not already using an async rt

https://docs.rs/reqwest/latest/reqwest/blocking/index.html



The blocking implementation still depends on and uses tokio, last I looked.

I've seen this with multiple Rust packages. "Yes, we offer a synchronous blocking version..." and then you look and it's calling rt.block_on behind the scenes.

Which is a pretty large facepalm IMHO




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

Search: