diode-http 0.4.0

HTTP services for the diode library
Documentation
# 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 = "2024"
name = "diode-http"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP services for the diode library"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/udovin/diode-rs"

[features]
default = ["macros"]
macros = ["dep:diode-http-macros"]

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

[[test]]
name = "server"
path = "tests/server.rs"

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

[dependencies.axum]
version = "0.8"

[dependencies.diode]
version = "0.2"

[dependencies.diode-base]
version = "0.3"

[dependencies.diode-http-macros]
version = "0.3"
optional = true

[dependencies.opentelemetry]
version = "0.27"

[dependencies.opentelemetry_sdk]
version = "0.27"
features = ["rt-tokio"]

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tokio]
version = "1"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.28"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.reqwest-middleware]
version = "0.4"

[dev-dependencies.reqwest-retry]
version = "0.7"
features = ["tracing"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]