Andriamanitra / coctus

Command line tool for playing Clash of Code locally
MIT License
4 stars 2 forks source link

Switch to ureq as HTTP client #69

Closed Andriamanitra closed 1 month ago

Andriamanitra commented 1 month ago

(I don't know if this is actually a good idea but)

using ureq instead of reqwest

Downside is that it is less featured, and doesn't provide an async API. But we were already using a blocking client with reqwest too, and since we are only using the HTTP client in exactly one place for a simple POST request I don't think the lack of features matters at all.