Closed KaiserKarel closed 4 weeks ago
@KaiserKarel Looks great, thanks for the PR! Can you please add a changelog entry for this, mentioning the new Builder::client
and HttpClient::new_from_parts
methods?
Don't worry about the failure on nightly, I'll take care of it.
Previously, the reqwest client for HttpClient would be unconditionally built by the internal builder, meaning that useful middleware such as tower could not be applied.
This commits adds two ways to create the HttpClient with a custom reqwest::Client, either through new_from_parts, or using the builder.
.changelog/