Reqwest default features (#7)

* feat: disable default features for reqwest
pull/8/head
Conrad Ludgate 2021-09-28 11:17:10 +01:00 committed by GitHub
parent c98f59b165
commit e0b01383d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 3 deletions

View File

@ -5,5 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
### Changed
- Disabled default features on `reqwest`
### Added ### Added
- New methods on `ClientWithExtensions` and `RequestBuilder` for sending requests with initial extensions. - New methods on `ClientWithExtensions` and `RequestBuilder` for sending requests with initial extensions.

View File

@ -15,7 +15,7 @@ anyhow = "1"
async-trait = "0.1.51" async-trait = "0.1.51"
futures = "0.3" futures = "0.3"
http = "0.2" http = "0.2"
reqwest = { version = "0.11", features = ["json", "multipart"] } reqwest = { version = "0.11", default-features = false, features = ["json", "multipart"] }
serde = "1" serde = "1"
thiserror = "1" thiserror = "1"
truelayer-extensions = "0.1" truelayer-extensions = "0.1"

View File

@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Changed
- Disabled default features on `reqwest`
## [0.1.1] - 2021-09-15 ## [0.1.1] - 2021-09-15
### Changed ### Changed
- Updated `reqwest-middleware` dependency to `0.1.1`. - Updated `reqwest-middleware` dependency to `0.1.1`.

View File

@ -18,7 +18,7 @@ chrono = "0.4"
futures = "0.3" futures = "0.3"
http = "0.2" http = "0.2"
retry-policies = "0.1" retry-policies = "0.1"
reqwest = "0.11" reqwest = { version = "0.11", default-features = false }
tokio = { version = "1.6", features = ["time"] } tokio = { version = "1.6", features = ["time"] }
tracing = "0.1.26" tracing = "0.1.26"
truelayer-extensions = "0.1" truelayer-extensions = "0.1"

View File

@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Changed
- Disabled default features on `reqwest`
## [0.1.2] - 2021-09-15 ## [0.1.2] - 2021-09-15
### Changed ### Changed
- Updated `reqwest-middleware` dependency to `0.1.1`. - Updated `reqwest-middleware` dependency to `0.1.1`.

View File

@ -19,7 +19,7 @@ opentelemetry_0_16 = ["opentelemetry_0_16_pkg", "tracing-opentelemetry_0_15_pkg"
reqwest-middleware = { version = "0.1.1", path = "../reqwest-middleware" } reqwest-middleware = { version = "0.1.1", path = "../reqwest-middleware" }
async-trait = "0.1.51" async-trait = "0.1.51"
reqwest = "0.11" reqwest = { version = "0.11", default-features = false }
tokio = { version = "1.6", features = ["time"] } tokio = { version = "1.6", features = ["time"] }
tracing = "0.1.26" tracing = "0.1.26"
truelayer-extensions = "0.1" truelayer-extensions = "0.1"