atomr-dashboard 0.3.1

Live web UI over a running atomr system — REST + WebSocket + embedded React SPA, Prometheus / OTLP exporters.
# 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.78"
name = "atomr-dashboard"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Live web UI over a running atomr system — REST + WebSocket + embedded React SPA, Prometheus / OTLP exporters."
homepage = "https://github.com/rustakka/atomr"
documentation = "https://docs.rs/atomr-dashboard"
readme = "README.md"
keywords = [
    "actor",
    "dashboard",
    "observability",
    "metrics",
]
categories = [
    "development-tools::profiling",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/rustakka/atomr"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
aggregator = ["dep:reqwest"]
bin = [
    "dep:clap",
    "dep:anyhow",
    "dep:tracing-subscriber",
]
default = []
embed-ui = ["dep:rust-embed"]
metrics-otel = ["atomr-telemetry/otel"]
metrics-otel-grpc = [
    "metrics-otel",
    "atomr-telemetry/otel-otlp-grpc",
]
metrics-otel-http = [
    "metrics-otel",
    "atomr-telemetry/otel-otlp-http",
]
metrics-otel-stdout = [
    "metrics-otel",
    "atomr-telemetry/otel-stdout",
]
metrics-prometheus = ["atomr-telemetry/prometheus"]

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

[[bin]]
name = "atomr-dashboard"
path = "src/bin/atomr-dashboard.rs"
required-features = ["bin"]

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

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

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

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

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.atomr-config]
version = "0.3.1"

[dependencies.atomr-core]
version = "0.3.1"

[dependencies.atomr-telemetry]
version = "0.3.1"
features = [
    "cluster",
    "persistence",
    "remote",
    "streams",
    "ddata",
    "sharding",
    "cluster-metrics",
]

[dependencies.axum]
version = "0.7"
features = [
    "json",
    "ws",
    "http1",
    "tokio",
    "query",
    "matched-path",
]
default-features = false

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

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

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
optional = true
default-features = false

[dependencies.rust-embed]
version = "8"
features = ["mime-guess"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]
optional = true

[dev-dependencies.tokio]
version = "1.39"
features = [
    "full",
    "full",
    "test-util",
]

[dev-dependencies.tokio-tungstenite]
version = "0.24"

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

[lints.clippy]
todo = "deny"
unimplemented = "deny"