3 ms·
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 https://
by chromatin 2y ago
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 https://docs.rs/reqwest/latest/reqwest/blocking/index.html
- cmrdporcupine 2y agoThe 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