mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-27 11:26:31 +00:00
0bdb2b6ef4
A copy of #134 but just with the matchit upgrade. Thank you @matiu2 for raising the original PR
48 lines
2.3 KiB
TOML
48 lines
2.3 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"]
|
|
|
|
|
|
[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 }
|
|
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 }
|
|
|
|
[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_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"] }
|