Skip to content

Commit 524e044

Browse files
mpalmereopb
andauthored
Re-export reqwest crate (#158)
* Re-export reqwest crate In a large project, it's not unheard of for multiple mutually-incompatible versions of a major crate like `reqwest` to end up in the mix. By re-exporting the version of `reqwest` used by `reqwest-middleware`, we can be sure we're referring to the *correct* `reqwest`, rather than some other, incompatible, `reqwest`. * Update CHANGELOG.md --------- Co-authored-by: Ethan Brierley <[email protected]>
1 parent 2265627 commit 524e044

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010
- Added support for `opentelemetry` version `0.23`.
11+
- Added re-export of `reqwest`.
1112
- `http2`, `rustls-tls`, and `charset` features, which simply enable those features in `reqwest`.
1213

1314
## [0.3.1]

reqwest-middleware/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ pub use client::{ClientBuilder, ClientWithMiddleware, RequestBuilder};
5858
pub use error::{Error, Result};
5959
pub use middleware::{Middleware, Next};
6060
pub use req_init::{Extension, RequestInitialiser};
61+
pub use reqwest;

0 commit comments

Comments
 (0)