2021-08-10 16:07:08 +00:00
|
|
|
[package]
|
|
|
|
name = "reqwest-tracing"
|
2023-03-09 11:33:13 +00:00
|
|
|
version = "0.4.1"
|
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]
|
|
|
|
opentelemetry_0_13 = ["opentelemetry_0_13_pkg", "tracing-opentelemetry_0_12_pkg"]
|
|
|
|
opentelemetry_0_14 = ["opentelemetry_0_14_pkg", "tracing-opentelemetry_0_13_pkg"]
|
|
|
|
opentelemetry_0_15 = ["opentelemetry_0_15_pkg", "tracing-opentelemetry_0_14_pkg"]
|
2021-11-30 16:00:23 +00:00
|
|
|
opentelemetry_0_16 = ["opentelemetry_0_16_pkg", "tracing-opentelemetry_0_16_pkg"]
|
2022-02-16 17:37:54 +00:00
|
|
|
opentelemetry_0_17 = ["opentelemetry_0_17_pkg", "tracing-opentelemetry_0_17_pkg"]
|
2022-09-20 13:07:32 +00:00
|
|
|
opentelemetry_0_18 = ["opentelemetry_0_18_pkg", "tracing-opentelemetry_0_18_pkg"]
|
2022-02-16 17:37:54 +00:00
|
|
|
|
2021-08-10 16:07:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-11-15 10:31:34 +00:00
|
|
|
reqwest-middleware = { version = "0.2.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"
|
2023-04-26 14:28:32 +00:00
|
|
|
matchit = "0.7.0"
|
2021-09-28 10:17:10 +00:00
|
|
|
reqwest = { version = "0.11", default-features = false }
|
2023-03-09 11:33:13 +00:00
|
|
|
task-local-extensions = "0.1.4"
|
2021-08-10 16:07:08 +00:00
|
|
|
tracing = "0.1.26"
|
|
|
|
|
|
|
|
opentelemetry_0_13_pkg = { package = "opentelemetry", version = "0.13", optional = true }
|
|
|
|
opentelemetry_0_14_pkg = { package = "opentelemetry", version = "0.14", optional = true }
|
|
|
|
opentelemetry_0_15_pkg = { package = "opentelemetry", version = "0.15", optional = true }
|
2021-08-30 11:14:06 +00:00
|
|
|
opentelemetry_0_16_pkg = { package = "opentelemetry", version = "0.16", optional = true }
|
2022-02-16 17:37:54 +00:00
|
|
|
opentelemetry_0_17_pkg = { package = "opentelemetry", version = "0.17", optional = true }
|
2022-09-20 13:07:32 +00:00
|
|
|
opentelemetry_0_18_pkg = { package = "opentelemetry", version = "0.18", optional = true }
|
2021-08-10 16:07:08 +00:00
|
|
|
tracing-opentelemetry_0_12_pkg = { package = "tracing-opentelemetry",version = "0.12", optional = true }
|
|
|
|
tracing-opentelemetry_0_13_pkg = { package = "tracing-opentelemetry", version = "0.13", optional = true }
|
|
|
|
tracing-opentelemetry_0_14_pkg = { package = "tracing-opentelemetry",version = "0.14", optional = true }
|
2021-11-30 16:00:23 +00:00
|
|
|
tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry",version = "0.16", optional = true }
|
2022-02-16 17:37:54 +00:00
|
|
|
tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry",version = "0.17", optional = true }
|
2022-09-20 13:07:32 +00:00
|
|
|
tracing-opentelemetry_0_18_pkg = { package = "tracing-opentelemetry",version = "0.18", optional = true }
|
2022-02-16 17:37:54 +00:00
|
|
|
|
2023-03-09 11:33:13 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2021-08-10 16:07:08 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1", features = ["macros"] }
|
2022-04-21 17:39:06 +00:00
|
|
|
tracing_subscriber_0_2 = { package = "tracing-subscriber", version = "0.2" }
|
|
|
|
tracing_subscriber_0_3 = { package = "tracing-subscriber", version = "0.3" }
|
2022-06-29 14:06:52 +00:00
|
|
|
wiremock = "0.5"
|