reduces the number of transitive dependencies significantly
produces smaller binaries (~13M -> ~11M)
makes builds slightly faster (~14s -> ~13s in --release mode on my machine)
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.
(I don't know if this is actually a good idea but)
using ureq instead of reqwest
--release
mode on my machine)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.