54 lines
2.8 KiB
TOML
54 lines
2.8 KiB
TOML
[package]
|
|
name = "reqwest-tracing"
|
|
version = "0.5.0"
|
|
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"]
|
|
categories = ["web-programming::http-client"]
|
|
|
|
[features]
|
|
opentelemetry_0_20 = ["opentelemetry_0_20_pkg", "tracing-opentelemetry_0_21_pkg"]
|
|
opentelemetry_0_21 = ["opentelemetry_0_21_pkg", "tracing-opentelemetry_0_22_pkg"]
|
|
opentelemetry_0_22 = ["opentelemetry_0_22_pkg", "tracing-opentelemetry_0_23_pkg"]
|
|
opentelemetry_0_23 = ["opentelemetry_0_23_pkg", "tracing-opentelemetry_0_24_pkg"]
|
|
|
|
|
|
[dependencies]
|
|
reqwest-middleware = { version = "0.3.0", path = "../reqwest-middleware" }
|
|
|
|
anyhow = "1.0.70"
|
|
async-trait = "0.1.51"
|
|
matchit = "0.8.0"
|
|
http = "1"
|
|
reqwest = { version = "0.12.0", default-features = false }
|
|
tracing = "0.1.26"
|
|
|
|
opentelemetry_0_20_pkg = { package = "opentelemetry", version = "0.20.0", optional = true }
|
|
opentelemetry_0_21_pkg = { package = "opentelemetry", version = "0.21.0", optional = true }
|
|
opentelemetry_0_22_pkg = { package = "opentelemetry", version = "0.22.0", optional = true }
|
|
opentelemetry_0_23_pkg = { package = "opentelemetry", version = "0.23.0", optional = true }
|
|
tracing-opentelemetry_0_21_pkg = { package = "tracing-opentelemetry", version = "0.21.0", optional = true }
|
|
tracing-opentelemetry_0_22_pkg = { package = "tracing-opentelemetry", version = "0.22.0", optional = true }
|
|
tracing-opentelemetry_0_23_pkg = { package = "tracing-opentelemetry", version = "0.23.0", optional = true }
|
|
tracing-opentelemetry_0_24_pkg = { package = "tracing-opentelemetry", version = "0.24.0", optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2.0", features = ["js"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.0.0", features = ["macros"] }
|
|
tracing_subscriber = { package = "tracing-subscriber", version = "0.3.0" }
|
|
wiremock = "0.6.0"
|
|
reqwest = { version = "0.12.0", features = ["rustls-tls"]}
|
|
|
|
opentelemetry_sdk_0_21 = { package = "opentelemetry_sdk", version = "0.21.0", features = ["trace"] }
|
|
opentelemetry_sdk_0_22 = { package = "opentelemetry_sdk", version = "0.22.0", features = ["trace"] }
|
|
opentelemetry_sdk_0_23 = { package = "opentelemetry_sdk", version = "0.23.0", features = ["trace"] }
|
|
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"] }
|
|
opentelemetry_stdout_0_3 = { package = "opentelemetry-stdout", version = "0.3.0", features = ["trace"] }
|
|
opentelemetry_stdout_0_4 = { package = "opentelemetry-stdout", version = "0.4.0", features = ["trace"] }
|