From a54319a9d65926c899440e5970c04592f30ed048 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Wed, 23 Aug 2023 12:34:20 +0100 Subject: [PATCH] Patch release `v0.4.6` :rocket: (#100) * Add support for OpenTelemetry v0.20 * Add back dev-deps * Attempt at tests * Update reqwest-tracing/src/otel.rs * Update reqwest-tracing/src/otel.rs * Update reqwest-tracing/Cargo.toml * Update reqwest-tracing/CHANGELOG.md --- reqwest-tracing/CHANGELOG.md | 5 +++++ reqwest-tracing/Cargo.toml | 16 ++++++++-------- reqwest-tracing/README.md | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/reqwest-tracing/CHANGELOG.md b/reqwest-tracing/CHANGELOG.md index 08f120e..a624139 100644 --- a/reqwest-tracing/CHANGELOG.md +++ b/reqwest-tracing/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.6] - 2023-08-23 + +### Added +- Add support for opentelemetry 0.20 + ## [0.4.5] - 2023-06-20 ### Added diff --git a/reqwest-tracing/Cargo.toml b/reqwest-tracing/Cargo.toml index cda79ef..74baa37 100644 --- a/reqwest-tracing/Cargo.toml +++ b/reqwest-tracing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwest-tracing" -version = "0.4.5" +version = "0.4.6" authors = ["Rodrigo Gryzinski "] edition = "2018" description = "Opentracing middleware for reqwest." @@ -38,14 +38,14 @@ opentelemetry_0_17_pkg = { package = "opentelemetry", version = "0.17.0", option opentelemetry_0_18_pkg = { package = "opentelemetry", version = "0.18.0", optional = true } opentelemetry_0_19_pkg = { package = "opentelemetry", version = "0.19.0", optional = true } opentelemetry_0_20_pkg = { package = "opentelemetry", version = "0.20.0", optional = true } -tracing-opentelemetry_0_12_pkg = { package = "tracing-opentelemetry",version = "0.12.0", optional = true } +tracing-opentelemetry_0_12_pkg = { package = "tracing-opentelemetry", version = "0.12.0", optional = true } tracing-opentelemetry_0_13_pkg = { package = "tracing-opentelemetry", version = "0.13.0", optional = true } -tracing-opentelemetry_0_14_pkg = { package = "tracing-opentelemetry",version = "0.14.0", optional = true } -tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry",version = "0.16.0", optional = true } -tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry",version = "0.17.0", optional = true } -tracing-opentelemetry_0_18_pkg = { package = "tracing-opentelemetry",version = "0.18.0", optional = true } -tracing-opentelemetry_0_19_pkg = { package = "tracing-opentelemetry",version = "0.19.0", optional = true } -tracing-opentelemetry_0_20_pkg = { package = "tracing-opentelemetry",version = "0.20.0", optional = true } +tracing-opentelemetry_0_14_pkg = { package = "tracing-opentelemetry", version = "0.14.0", optional = true } +tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry", version = "0.16.0", optional = true } +tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry", version = "0.17.0", optional = true } +tracing-opentelemetry_0_18_pkg = { package = "tracing-opentelemetry", version = "0.18.0", optional = true } +tracing-opentelemetry_0_19_pkg = { package = "tracing-opentelemetry", version = "0.19.0", optional = true } +tracing-opentelemetry_0_20_pkg = { package = "tracing-opentelemetry", version = "0.20.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { version = "0.2.0", features = ["js"] } diff --git a/reqwest-tracing/README.md b/reqwest-tracing/README.md index 60375a2..87c246b 100644 --- a/reqwest-tracing/README.md +++ b/reqwest-tracing/README.md @@ -92,7 +92,7 @@ an opentelemetry version feature: reqwest-tracing = { version = "0.3.1", features = ["opentelemetry_0_18"] } ``` -Available opentelemetry features are `opentelemetry_0_18`, `opentelemetry_0_17`, `opentelemetry_0_16`, `opentelemetry_0_15`, `opentelemetry_0_14` and +Available opentelemetry features are `opentelemetry_0_20`, `opentelemetry_0_19`, `opentelemetry_0_18`, `opentelemetry_0_17`, `opentelemetry_0_16`, `opentelemetry_0_15`, `opentelemetry_0_14` and `opentelemetry_0_13`. #### License