# 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 = "2021"
name = "sonda-server"
version = "0.3.0"
authors = ["David Flores <davidflores77@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP control plane for Sonda — synthetic telemetry generator"
homepage = "https://github.com/davidban77/sonda"
readme = "README.md"
keywords = [
    "telemetry",
    "metrics",
    "observability",
    "testing",
    "synthetic",
]
categories = [
    "web-programming::http-server",
    "development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/davidban77/sonda"

[features]
kafka = ["sonda-core/kafka"]
remote-write = ["sonda-core/remote-write"]

[[bin]]
name = "sonda-server"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4"
features = ["derive"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sonda-core]
version = "0.3.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "json",
    "rustls",
]
default-features = false

[dev-dependencies.tower]
version = "0.5"
