2021-08-10 16:07:08 +00:00
|
|
|
[package]
|
|
|
|
name = "reqwest-tracing"
|
2024-11-11 18:24:20 +00:00
|
|
|
version = "0.5.4"
|
2021-08-10 16:07:08 +00:00
|
|
|
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
description = "Opentracing middleware for reqwest."
|
|
|
|
repository = "https://github.com/TrueLayer/reqwest-middleware"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2022-03-09 16:23:43 +00:00
|
|
|
keywords = ["reqwest", "http", "middleware", "opentelemetry", "tracing"]
|
2021-08-10 16:07:08 +00:00
|
|
|
categories = ["web-programming::http-client"]
|
|
|
|
|
|
|
|
[features]
|
2024-04-03 17:13:10 +00:00
|
|
|
opentelemetry_0_20 = ["opentelemetry_0_20_pkg", "tracing-opentelemetry_0_21_pkg"]
|
2024-01-19 11:17:54 +00:00
|
|
|
opentelemetry_0_21 = ["opentelemetry_0_21_pkg", "tracing-opentelemetry_0_22_pkg"]
|
2024-03-11 17:04:51 +00:00
|
|
|
opentelemetry_0_22 = ["opentelemetry_0_22_pkg", "tracing-opentelemetry_0_23_pkg"]
|
2024-06-03 09:12:56 +00:00
|
|
|
opentelemetry_0_23 = ["opentelemetry_0_23_pkg", "tracing-opentelemetry_0_24_pkg"]
|
2024-07-30 08:46:19 +00:00
|
|
|
opentelemetry_0_24 = ["opentelemetry_0_24_pkg", "tracing-opentelemetry_0_25_pkg"]
|
2024-10-16 20:05:35 +00:00
|
|
|
opentelemetry_0_25 = ["opentelemetry_0_25_pkg", "tracing-opentelemetry_0_26_pkg"]
|
|
|
|
opentelemetry_0_26 = ["opentelemetry_0_26_pkg", "tracing-opentelemetry_0_27_pkg"]
|
2024-11-18 11:16:33 +00:00
|
|
|
opentelemetry_0_27 = ["opentelemetry_0_27_pkg", "tracing-opentelemetry_0_28_pkg"]
|
2024-07-15 10:53:31 +00:00
|
|
|
# This feature ensures that both the old (deprecated) and new attributes are published simultaneously.
|
|
|
|
# By doing so, we maintain backward compatibility, allowing existing code that relies on the old attributes
|
|
|
|
# to continue functioning while encouraging the transition to the new attributes.
|
|
|
|
deprecated_attributes = []
|
2021-08-10 16:07:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-11-11 18:24:20 +00:00
|
|
|
reqwest-middleware = { version = ">0.3.0, <0.5.0", path = "../reqwest-middleware" }
|
2021-08-10 16:07:08 +00:00
|
|
|
|
2023-04-26 14:28:32 +00:00
|
|
|
anyhow = "1.0.70"
|
2021-08-10 16:07:08 +00:00
|
|
|
async-trait = "0.1.51"
|
2024-04-10 08:05:51 +00:00
|
|
|
matchit = "0.8.0"
|
2024-04-03 17:13:10 +00:00
|
|
|
http = "1"
|
|
|
|
reqwest = { version = "0.12.0", default-features = false }
|
2021-08-10 16:07:08 +00:00
|
|
|
tracing = "0.1.26"
|
|
|
|
|
2023-08-23 10:49:15 +00:00
|
|
|
opentelemetry_0_20_pkg = { package = "opentelemetry", version = "0.20.0", optional = true }
|
2024-01-19 11:17:54 +00:00
|
|
|
opentelemetry_0_21_pkg = { package = "opentelemetry", version = "0.21.0", optional = true }
|
2024-03-11 17:04:51 +00:00
|
|
|
opentelemetry_0_22_pkg = { package = "opentelemetry", version = "0.22.0", optional = true }
|
2024-06-03 09:12:56 +00:00
|
|
|
opentelemetry_0_23_pkg = { package = "opentelemetry", version = "0.23.0", optional = true }
|
2024-07-30 08:46:19 +00:00
|
|
|
opentelemetry_0_24_pkg = { package = "opentelemetry", version = "0.24.0", optional = true }
|
2024-10-16 20:05:35 +00:00
|
|
|
opentelemetry_0_25_pkg = { package = "opentelemetry", version = "0.25.0", optional = true }
|
|
|
|
opentelemetry_0_26_pkg = { package = "opentelemetry", version = "0.26.0", optional = true }
|
2024-11-18 11:16:33 +00:00
|
|
|
opentelemetry_0_27_pkg = { package = "opentelemetry", version = "0.27.0", optional = true }
|
2024-04-03 17:13:10 +00:00
|
|
|
tracing-opentelemetry_0_21_pkg = { package = "tracing-opentelemetry", version = "0.21.0", optional = true }
|
2024-01-19 11:17:54 +00:00
|
|
|
tracing-opentelemetry_0_22_pkg = { package = "tracing-opentelemetry", version = "0.22.0", optional = true }
|
2024-03-11 17:04:51 +00:00
|
|
|
tracing-opentelemetry_0_23_pkg = { package = "tracing-opentelemetry", version = "0.23.0", optional = true }
|
2024-06-03 09:12:56 +00:00
|
|
|
tracing-opentelemetry_0_24_pkg = { package = "tracing-opentelemetry", version = "0.24.0", optional = true }
|
2024-07-30 08:46:19 +00:00
|
|
|
tracing-opentelemetry_0_25_pkg = { package = "tracing-opentelemetry", version = "0.25.0", optional = true }
|
2024-10-16 20:05:35 +00:00
|
|
|
tracing-opentelemetry_0_26_pkg = { package = "tracing-opentelemetry", version = "0.26.0", optional = true }
|
|
|
|
tracing-opentelemetry_0_27_pkg = { package = "tracing-opentelemetry", version = "0.27.0", optional = true }
|
2024-11-18 11:16:33 +00:00
|
|
|
tracing-opentelemetry_0_28_pkg = { package = "tracing-opentelemetry", version = "0.28.0", optional = true }
|
2022-02-16 17:37:54 +00:00
|
|
|
|
2023-03-09 11:33:13 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-05-11 13:17:05 +00:00
|
|
|
getrandom = { version = "0.2.0", features = ["js"] }
|
2021-08-10 16:07:08 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-11 13:17:05 +00:00
|
|
|
tokio = { version = "1.0.0", features = ["macros"] }
|
2024-04-03 17:13:10 +00:00
|
|
|
tracing_subscriber = { package = "tracing-subscriber", version = "0.3.0" }
|
|
|
|
wiremock = "0.6.0"
|
2024-07-15 10:53:31 +00:00
|
|
|
reqwest = { version = "0.12.0", features = ["rustls-tls"] }
|
2023-08-23 10:49:15 +00:00
|
|
|
|
2024-01-19 11:17:54 +00:00
|
|
|
opentelemetry_sdk_0_21 = { package = "opentelemetry_sdk", version = "0.21.0", features = ["trace"] }
|
2024-03-12 15:03:25 +00:00
|
|
|
opentelemetry_sdk_0_22 = { package = "opentelemetry_sdk", version = "0.22.0", features = ["trace"] }
|
2024-06-03 09:12:56 +00:00
|
|
|
opentelemetry_sdk_0_23 = { package = "opentelemetry_sdk", version = "0.23.0", features = ["trace"] }
|
2024-07-30 08:46:19 +00:00
|
|
|
opentelemetry_sdk_0_24 = { package = "opentelemetry_sdk", version = "0.24.1", features = ["trace"] }
|
2024-10-16 20:05:35 +00:00
|
|
|
opentelemetry_sdk_0_25 = { package = "opentelemetry_sdk", version = "0.25.0", features = ["trace"] }
|
|
|
|
opentelemetry_sdk_0_26 = { package = "opentelemetry_sdk", version = "0.26.0", features = ["trace"] }
|
2024-11-18 11:16:33 +00:00
|
|
|
opentelemetry_sdk_0_27 = { package = "opentelemetry_sdk", version = "0.27.0", features = ["trace"] }
|
2024-01-19 11:17:54 +00:00
|
|
|
opentelemetry_stdout_0_1 = { package = "opentelemetry-stdout", version = "0.1.0", features = ["trace"] }
|
|
|
|
opentelemetry_stdout_0_2 = { package = "opentelemetry-stdout", version = "0.2.0", features = ["trace"] }
|
2024-03-12 15:03:25 +00:00
|
|
|
opentelemetry_stdout_0_3 = { package = "opentelemetry-stdout", version = "0.3.0", features = ["trace"] }
|
2024-06-03 09:12:56 +00:00
|
|
|
opentelemetry_stdout_0_4 = { package = "opentelemetry-stdout", version = "0.4.0", features = ["trace"] }
|
2024-07-30 08:46:19 +00:00
|
|
|
opentelemetry_stdout_0_5 = { package = "opentelemetry-stdout", version = "0.5.0", features = ["trace"] }
|