Avatar
laund
b4b6fcb984b7b6864ac094962c4b2c19e63181a8dc3d67057806ce493c2ef37c
cisn't ❤️Rust + Bevy

nostr:npub19pgazvl0rfwjlf057k2q8ss3s8vxgvc8qsl0s6w8yx4lzv9yggmqtyygka Good question. I thought that the blocking version of reqwest would use the tokio runtime under the hood which would be a big overhead. But now that you asked, I did check it again and that does not seem to be the case. ureq is just reinventing the wheel? A good simple crate to study HTTP clients, I guess. Deleting the original post ;)

nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg could make a "did you know reqwest has a sync API with no need for tokio?" post instead

`ureq` is an awesome sync #Rust HTTP client!

https://github.com/algesten/ureq

It is pretty simple! :blobcatcookienom:

If you need a more powerful and async client, use `reqwest`:

https://github.com/seanmonstar/reqwest

#RustLang

nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg hmmm what advantage does this have over reqwests sync API?