All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Added a
BoxCloneSyncService
, borrowed from this PR. -
breaking:
request
module has been renamed to therequest_builder
. -
breaking: Removed
reqwest-middleware
feature from thetower-http-client
andtower-http
crates. -
Added a retry example.
-
Added a rate-limiter example.
-
breaking: Changed
ServiceBuilder::execute
signature to be more compatible with theService::call
method.
-
Added more information about crates.
-
The minimum supported Rust version is set to 1.75.
- Added a
reqwest
andreqwest-middleware
features to thetower-http-client
crate.
-
Added an
ResponseExt
extension trait. -
Added a
json
feature to enable reading and writing JSON bodies in requests and responses. -
Added a
request
module with the useful utilities likeClientRequest
for constructing HTTP requests. -
A separate feature
util
has been removed, now this functionality is always available. -
Added a new module
body_reader
in thetower-http-client
to simplify the reading the response body in the most common cases. -
tower_http_client::util::HttpClientExt
has been replaced by thetower_http_client::ServiceExt
.
The tower-reqwest
has been splitted into two parts: tower-reqwest
itself
with adapters for tower-http
and tower-http-client
with the useful utils
and extensions for creating an clients.