reqwest-middleware/reqwest-tracing/Cargo.toml

46 lines
2.3 KiB
TOML
Raw Normal View History

2021-08-10 16:07:08 +00:00
[package]
name = "reqwest-tracing"
version = "0.2.3-alpha.0"
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"
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"]
opentelemetry_0_16 = ["opentelemetry_0_16_pkg", "tracing-opentelemetry_0_16_pkg"]
opentelemetry_0_17 = ["opentelemetry_0_17_pkg", "tracing-opentelemetry_0_17_pkg"]
2021-08-10 16:07:08 +00:00
[dependencies]
2022-04-21 17:49:16 +00:00
reqwest-middleware = { version = "^0.1.6", path = "../reqwest-middleware" }
2021-08-10 16:07:08 +00:00
async-trait = "0.1.51"
reqwest = { version = "0.11", default-features = false }
2021-08-10 16:07:08 +00:00
tokio = { version = "1.6", features = ["time"] }
tracing = "0.1.26"
task-local-extensions = "0.1.1"
2021-08-10 16:07:08 +00:00
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 }
opentelemetry_0_16_pkg = { package = "opentelemetry", version = "0.16", optional = true }
opentelemetry_0_17_pkg = { package = "opentelemetry", version = "0.17", 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 }
tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry",version = "0.16", optional = true }
tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry",version = "0.17", optional = true }
2021-08-10 16:07:08 +00:00
[dev-dependencies]
wiremock = "0.5"
tokio = { version = "1", features = ["macros"] }
tracing_subscriber_0_2 = { package = "tracing-subscriber", version = "0.2" }
tracing_subscriber_0_3 = { package = "tracing-subscriber", version = "0.3" }