lightshuttle-control 0.4.0

Local HTTP control plane and dashboard for LightShuttle
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"
rust-version = "1.88"
name = "lightshuttle-control"
version = "0.4.0"
authors = ["Nubster"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local HTTP control plane and dashboard for LightShuttle"
homepage = "https://github.com/nubster-opensources/lightshuttle"
readme = "README.md"
keywords = [
    "lightshuttle",
    "dashboard",
    "control-plane",
    "orchestrator",
    "dev-tools",
]
categories = [
    "development-tools",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nubster-opensources/lightshuttle"

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

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

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

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

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

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

[dependencies.askama]
version = "0.16"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.futures]
version = "0.3"

[dependencies.lightshuttle-runtime]
version = "0.4.0"

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.18"
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "process",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "process",
    "sync",
    "time",
    "test-util",
    "macros",
    "rt-multi-thread",
]

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

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1