Separate binary for Kubernetes internal admin RPC communication (SessionAdmin service on port 9090). Includes: - Redis cluster pool via session_manager - OTLP tracing with env-driven configuration - Tracing subscriber init (JSON to stderr) - Graceful startup with connection verification
45 lines
878 B
TOML
45 lines
878 B
TOML
[package]
|
|
name = "adminrpc"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
documentation.workspace = true
|
|
|
|
[[bin]]
|
|
name = "adminrpc"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# gRPC
|
|
rpc = { workspace = true }
|
|
|
|
# Session / Redis
|
|
session_manager = { workspace = true }
|
|
deadpool-redis = { workspace = true, features = ["cluster"] }
|
|
|
|
# Observability
|
|
observability = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
# Config
|
|
config = { workspace = true }
|
|
|
|
# Utilities
|
|
anyhow = { workspace = true }
|
|
|
|
# Async runtime
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "signal"] }
|
|
|
|
# CLI
|
|
clap = { workspace = true, features = ["derive"] }
|
|
|
|
[lints]
|
|
workspace = true
|