# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "astral-reqwest-tracing"
version = "0.5.8"
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opentracing middleware for reqwest."
readme = "README.md"
keywords = [
    "reqwest",
    "http",
    "middleware",
    "opentelemetry",
    "tracing",
]
categories = ["web-programming::http-client"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TrueLayer/reqwest-middleware"

[features]
deprecated_attributes = []
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",
]
opentelemetry_0_24 = [
    "opentelemetry_0_24_pkg",
    "tracing-opentelemetry_0_25_pkg",
]
opentelemetry_0_25 = [
    "opentelemetry_0_25_pkg",
    "tracing-opentelemetry_0_26_pkg",
]
opentelemetry_0_26 = [
    "opentelemetry_0_26_pkg",
    "tracing-opentelemetry_0_27_pkg",
]
opentelemetry_0_27 = [
    "opentelemetry_0_27_pkg",
    "tracing-opentelemetry_0_28_pkg",
]
opentelemetry_0_28 = [
    "opentelemetry_0_28_pkg",
    "tracing-opentelemetry_0_29_pkg",
]
opentelemetry_0_29 = [
    "opentelemetry_0_29_pkg",
    "tracing-opentelemetry_0_30_pkg",
]
opentelemetry_0_30 = [
    "opentelemetry_0_30_pkg",
    "tracing-opentelemetry_0_31_pkg",
]

[lib]
name = "reqwest_tracing"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.70"

[dependencies.async-trait]
version = "0.1.51"

[dependencies.http]
version = "1"

[dependencies.matchit]
version = "0.8.0"

[dependencies.opentelemetry_0_20_pkg]
version = "0.20.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_21_pkg]
version = "0.21.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_22_pkg]
version = "0.22.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_23_pkg]
version = "0.23.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_24_pkg]
version = "0.24.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_25_pkg]
version = "0.25.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_26_pkg]
version = "0.26.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_27_pkg]
version = "0.27.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_28_pkg]
version = "0.28.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_29_pkg]
version = "0.29.0"
optional = true
package = "opentelemetry"

[dependencies.opentelemetry_0_30_pkg]
version = "0.30.0"
optional = true
package = "opentelemetry"

[dependencies.reqwest]
version = "0.12.0"
default-features = false

[dependencies.reqwest-middleware]
version = ">0.3.0, <0.5.0"
package = "astral-reqwest-middleware"

[dependencies.tracing]
version = "0.1.26"

[dependencies.tracing-opentelemetry_0_21_pkg]
version = "0.21.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_22_pkg]
version = "0.22.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_23_pkg]
version = "0.23.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_24_pkg]
version = "0.24.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_25_pkg]
version = "0.25.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_26_pkg]
version = "0.26.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_27_pkg]
version = "0.27.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_28_pkg]
version = "0.28.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_29_pkg]
version = "0.29.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_30_pkg]
version = "0.30.0"
optional = true
package = "tracing-opentelemetry"

[dependencies.tracing-opentelemetry_0_31_pkg]
version = "0.31.0"
optional = true
package = "tracing-opentelemetry"

[dev-dependencies.opentelemetry_sdk_0_21]
version = "0.21.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_22]
version = "0.22.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_23]
version = "0.23.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_24]
version = "0.24.1"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_25]
version = "0.25.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_26]
version = "0.26.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_27]
version = "0.27.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_28]
version = "0.28.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_29]
version = "0.29.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_sdk_0_30]
version = "0.30.0"
features = ["trace"]
package = "opentelemetry_sdk"

[dev-dependencies.opentelemetry_stdout_0_1]
version = "0.1.0"
features = ["trace"]
package = "opentelemetry-stdout"

[dev-dependencies.opentelemetry_stdout_0_2]
version = "0.2.0"
features = ["trace"]
package = "opentelemetry-stdout"

[dev-dependencies.opentelemetry_stdout_0_3]
version = "0.3.0"
features = ["trace"]
package = "opentelemetry-stdout"

[dev-dependencies.opentelemetry_stdout_0_4]
version = "0.4.0"
features = ["trace"]
package = "opentelemetry-stdout"

[dev-dependencies.opentelemetry_stdout_0_5]
version = "0.5.0"
features = ["trace"]
package = "opentelemetry-stdout"

[dev-dependencies.reqwest]
version = "0.12.0"
features = ["rustls-tls"]

[dev-dependencies.tokio]
version = "1.0.0"
features = ["macros"]

[dev-dependencies.tracing_subscriber]
version = "0.3.0"
package = "tracing-subscriber"

[dev-dependencies.wiremock]
version = "0.6.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.0"
features = ["js"]
