seanmonstar/reqwest ? reverse-engineered prompt
Reverse engineered prompt
Build me a really solid Rust HTTP client library that feels easy to use and covers the common stuff people need right away.
I want both async and blocking ways to make requests, with simple support for plain text, JSON, form data, and multipart uploads. It should handle redirects, proxies, cookies, and HTTPS out of the box, and default to secure TLS but still let people use the system TLS if they want. Please make it pleasant to use in real apps, with a clean API, good docs, and a few examples showing basic requests, JSON parsing, and posting data.
If there are optional features that make sense, include them so people can choose what they need without making the basic setup too heavy. Also add tests for the main behaviors and make sure it works well on modern Rust. If you need to check current docs for best practices, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit