bump reqwest-tracing to v0.2.3 (#46)

* (cargo-release) reqwest-tracing v0.2.3

* sort dependencies

* Fix dependency versions

* Fix reqwest-middleware dependency

Co-authored-by: azanin <ale.zanin90@gmail.com>
This commit is contained in:
tl-flavio-barinas 2022-06-29 15:06:52 +01:00 committed by GitHub
parent 762007b524
commit 8a6b2ea571
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 12 deletions

View file

@ -17,12 +17,12 @@ futures = "0.3"
http = "0.2" http = "0.2"
reqwest = { version = "0.11", default-features = false, features = ["json", "multipart"] } reqwest = { version = "0.11", default-features = false, features = ["json", "multipart"] }
serde = "1" serde = "1"
thiserror = "1"
task-local-extensions = "0.1.1" task-local-extensions = "0.1.1"
thiserror = "1"
[dev-dependencies] [dev-dependencies]
reqwest = "0.11" reqwest = "0.11"
reqwest-retry = { path = "../reqwest-retry" } reqwest-retry = { path = "../reqwest-retry" }
reqwest-tracing = { path = "../reqwest-tracing" } reqwest-tracing = { path = "../reqwest-tracing" }
wiremock = "0.5"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
wiremock = "0.5"

View file

@ -10,7 +10,7 @@ keywords = ["reqwest", "http", "middleware", "retry"]
categories = ["web-programming::http-client"] categories = ["web-programming::http-client"]
[dependencies] [dependencies]
reqwest-middleware = { version = "^0.1.6", path = "../reqwest-middleware" } reqwest-middleware = { version = "^0.1.6" }
anyhow = "1" anyhow = "1"
async-trait = "0.1.51" async-trait = "0.1.51"
@ -18,14 +18,14 @@ chrono = { version = "0.4.19", features = ["clock"], default-features = false }
futures = "0.3" futures = "0.3"
http = "0.2" http = "0.2"
hyper = "0.14" hyper = "0.14"
retry-policies = "0.1"
reqwest = { version = "0.11", default-features = false } reqwest = { version = "0.11", default-features = false }
retry-policies = "0.1"
task-local-extensions = "0.1.1"
tokio = { version = "1.6", features = ["time"] } tokio = { version = "1.6", features = ["time"] }
tracing = "0.1.26" tracing = "0.1.26"
task-local-extensions = "0.1.1"
[dev-dependencies] [dev-dependencies]
wiremock = "0.5"
tokio = { version = "1", features = ["macros"] }
paste = "1"
async-std = { version = "1.10"} async-std = { version = "1.10"}
paste = "1"
tokio = { version = "1", features = ["macros"] }
wiremock = "0.5"

View file

@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.2.3] - 2022-06-23
### Fixed ### Fixed
- Fix how we set the OpenTelemetry span status, based on the HTTP response status. - Fix how we set the OpenTelemetry span status, based on the HTTP response status.

View file

@ -1,6 +1,6 @@
[package] [package]
name = "reqwest-tracing" name = "reqwest-tracing"
version = "0.2.3-alpha.0" version = "0.2.3"
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"] authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
edition = "2018" edition = "2018"
description = "Opentracing middleware for reqwest." description = "Opentracing middleware for reqwest."
@ -18,13 +18,13 @@ opentelemetry_0_17 = ["opentelemetry_0_17_pkg", "tracing-opentelemetry_0_17_pkg"
[dependencies] [dependencies]
reqwest-middleware = { version = "^0.1.6", path = "../reqwest-middleware" } reqwest-middleware = { version = "^0.1.6" }
async-trait = "0.1.51" async-trait = "0.1.51"
reqwest = { version = "0.11", default-features = false } reqwest = { version = "0.11", default-features = false }
task-local-extensions = "0.1.1"
tokio = { version = "1.6", features = ["time"] } tokio = { version = "1.6", features = ["time"] }
tracing = "0.1.26" tracing = "0.1.26"
task-local-extensions = "0.1.1"
opentelemetry_0_13_pkg = { package = "opentelemetry", version = "0.13", optional = true } opentelemetry_0_13_pkg = { package = "opentelemetry", version = "0.13", optional = true }
opentelemetry_0_14_pkg = { package = "opentelemetry", version = "0.14", optional = true } opentelemetry_0_14_pkg = { package = "opentelemetry", version = "0.14", optional = true }
@ -39,7 +39,7 @@ tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry",version = "
[dev-dependencies] [dev-dependencies]
wiremock = "0.5"
tokio = { version = "1", features = ["macros"] } tokio = { version = "1", features = ["macros"] }
tracing_subscriber_0_2 = { package = "tracing-subscriber", version = "0.2" } tracing_subscriber_0_2 = { package = "tracing-subscriber", version = "0.2" }
tracing_subscriber_0_3 = { package = "tracing-subscriber", version = "0.3" } tracing_subscriber_0_3 = { package = "tracing-subscriber", version = "0.3" }
wiremock = "0.5"