# 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 = "otelite-api"
version = "0.1.36"
authors = ["Otelite Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight web dashboard for visualizing OpenTelemetry logs, traces, and metrics"
homepage = "https://github.com/planetf1/otelite"
documentation = "https://docs.rs/otelite-api"
readme = false
keywords = [
    "opentelemetry",
    "observability",
    "otlp",
    "dashboard",
]
categories = ["web-programming"]
license = "Apache-2.0"
repository = "https://github.com/planetf1/otelite"

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.mime_guess]
version = "2.0"

[dependencies.otelite-core]
version = "0.1.0"
features = ["openapi"]

[dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = true

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tower]
version = "0.5"

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

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "4"
features = ["axum_extras"]

[dependencies.utoipa-swagger-ui]
version = "7"
features = ["axum"]

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

[dev-dependencies.otelite-storage]
version = "0.1.0"

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.tokio-test]
version = "0.4"

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