Profile: a5386d19...
nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg The docs in your previous link say "Conversely, the functionality in reqwest::blocking must not be executed within an async runtime, or it will panic when attempting to block. If calling directly from an async function, consider using an async reqwest::Client instead.".
I did delete my post about the synchronous HTTP client `ureq`. Why reinvent the wheel when `reqwest` already has a blocking API?
https://docs.rs/reqwest/latest/reqwest/blocking/index.html
This means that you can use `reqwest` for async and sync applications. Profit from the strong ecosystem around hyper :D
#RustLang #Rust
nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg Why does it panic within an async runtime?