# 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"
rust-version = "1.77"
name = "otelite"
version = "0.1.15"
authors = ["Otelite Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Otelite: OTLP receiver, dashboard, and CLI for local OpenTelemetry observability"
homepage = "https://github.com/planetf1/otelite"
documentation = "https://docs.rs/otelite"
readme = "README.md"
keywords = [
    "opentelemetry",
    "observability",
    "otlp",
    "tracing",
    "llm",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/planetf1/otelite"

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

[[bin]]
name = "otelite"
path = "src/main.rs"

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
]

[dependencies.comfy-table]
version = "7.1"

[dependencies.minus]
version = "5.6"
features = [
    "static_output",
    "search",
]

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.terminal_size]
version = "0.4"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.csv]
version = "1.3"

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.predicates]
version = "3.0"

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

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
]

[target."cfg(unix)".dependencies.otelite-api]
version = "0.1.0"

[target."cfg(unix)".dependencies.otelite-client]
version = "0.1.0"

[target."cfg(unix)".dependencies.otelite-core]
version = "0.1.0"

[target."cfg(unix)".dependencies.otelite-receiver]
version = "0.1.0"

[target."cfg(unix)".dependencies.otelite-storage]
version = "0.1.0"

[target."cfg(unix)".dependencies.otelite-tui]
version = "0.1.0"
