95 lines
3.1 KiB
TOML
95 lines
3.1 KiB
TOML
[package]
|
|
name = "skyg-linux-tracker"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Read-only Linux system monitor: systemd, journald and Docker over REST, MCP and OpenTelemetry"
|
|
license = "MIT"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "skyg_linux_tracker"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "slinuxm"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# Runtime
|
|
tokio = { version = "1.53.3", features = ["full"] }
|
|
tokio-util = "0.7.20"
|
|
futures = "0.3.34"
|
|
async-trait = "0.1.92"
|
|
anyhow = "1.0.104"
|
|
thiserror = "2.0.21"
|
|
libc = "0.2"
|
|
|
|
# HTTP
|
|
axum = "0.8.9"
|
|
tower = "0.5.3"
|
|
tower-http = { version = "0.7.1", features = ["trace"] }
|
|
# Peer client: rustls via `rustls-no-provider`, ring passed per config.
|
|
# default-features is off so native-tls (openssl) stays out.
|
|
reqwest = { version = "0.13.5", default-features = false, features = ["rustls-no-provider"] }
|
|
webpki-roots = "1.0.9"
|
|
ipnet = "2.11.0"
|
|
|
|
# Native TLS (DEC-12): rustls with the ring provider passed explicitly, no openssl
|
|
rustls = { version = "0.23.45", default-features = false, features = ["ring", "std", "tls12"] }
|
|
tokio-rustls = { version = "0.26.5", default-features = false, features = ["ring", "tls12"] }
|
|
hyper-util = { version = "0.1.21", features = ["tokio", "server-auto", "service"] }
|
|
|
|
# Data
|
|
bytes = "1.12.1"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.154"
|
|
url = { version = "2.5.8", features = ["serde"] }
|
|
percent-encoding = "2.3.2"
|
|
schemars = { version = "1.2.3", features = ["jiff02"] }
|
|
jiff = { version = "0.2.38", features = ["serde"] }
|
|
|
|
# Config / CLI
|
|
figment = { version = "0.10.19", features = ["toml", "env"] }
|
|
toml = "1.1.8"
|
|
clap = { version = "4.6.7", features = ["derive", "env"] }
|
|
|
|
# MCP
|
|
rmcp = { version = "3.5.1", features = ["server", "macros", "schemars", "transport-streamable-http-server"] }
|
|
|
|
# systemd (D-Bus) and journal (libsystemd FFI)
|
|
zbus = { version = "5.19.0", default-features = false, features = ["tokio"] }
|
|
zbus_systemd = { version = "0.26200.0", default-features = false, features = ["systemd1", "zbus-async-tokio"] }
|
|
systemd = { version = "0.10.1", default-features = false, features = ["journal", "systemd_v245"] }
|
|
|
|
# Docker (unix socket only; default features pull no TLS)
|
|
bollard = "0.21.1"
|
|
|
|
# OpenTelemetry
|
|
opentelemetry = "0.33.1"
|
|
opentelemetry_sdk = "0.33.1"
|
|
opentelemetry-otlp = { version = "0.33.1", default-features = false, features = ["grpc-tonic", "http-proto", "logs", "metrics", "trace", "reqwest-blocking-client", "reqwest-rustls", "tls-ring", "tls-webpki-roots"] }
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
tracing-opentelemetry = "0.34.0"
|
|
|
|
# Auth / DB
|
|
sqlx = { version = "0.9.0", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] }
|
|
sha2 = "0.11.1"
|
|
rand = "0.10.3"
|
|
base64 = "0.23.1"
|
|
utoipa = "6"
|
|
|
|
[dev-dependencies]
|
|
figment = { version = "0.10.19", features = ["test"] }
|
|
rcgen = { version = "0.14", default-features = false, features = ["ring", "pem"] }
|
|
# Pausable clock for tests. `full` does not include this, and the runtime build must not.
|
|
tokio = { version = "1.53.3", features = ["test-util"] }
|
|
|
|
[profile.dev]
|
|
debug = "line-tables-only"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = true
|
|
codegen-units = 1
|