112 lines
2.6 KiB
TOML
112 lines
2.6 KiB
TOML
|
|
[package]
|
||
|
|
name = "control-center"
|
||
|
|
version.workspace = true
|
||
|
|
edition.workspace = true
|
||
|
|
authors.workspace = true
|
||
|
|
description = "Control center service with JWT authentication, user management, and real-time WebSocket events"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
# ============================================================================
|
||
|
|
# WORKSPACE DEPENDENCIES
|
||
|
|
# ============================================================================
|
||
|
|
|
||
|
|
# Core async runtime
|
||
|
|
tokio = { workspace = true }
|
||
|
|
futures = { workspace = true }
|
||
|
|
async-trait = { workspace = true }
|
||
|
|
|
||
|
|
# Web server and API
|
||
|
|
axum = { workspace = true }
|
||
|
|
tower = { workspace = true }
|
||
|
|
tower-http = { workspace = true }
|
||
|
|
hyper = { workspace = true }
|
||
|
|
|
||
|
|
# Serialization and data
|
||
|
|
serde = { workspace = true }
|
||
|
|
serde_json = { workspace = true }
|
||
|
|
toml = { workspace = true }
|
||
|
|
uuid = { workspace = true }
|
||
|
|
chrono = { workspace = true }
|
||
|
|
|
||
|
|
# Database
|
||
|
|
surrealdb = { workspace = true }
|
||
|
|
sqlx = { workspace = true }
|
||
|
|
|
||
|
|
# Configuration and CLI
|
||
|
|
clap = { workspace = true }
|
||
|
|
config = { workspace = true }
|
||
|
|
|
||
|
|
# Error handling
|
||
|
|
thiserror = { workspace = true }
|
||
|
|
anyhow = { workspace = true }
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
tracing = { workspace = true }
|
||
|
|
tracing-subscriber = { workspace = true }
|
||
|
|
|
||
|
|
# Validation
|
||
|
|
validator = { workspace = true }
|
||
|
|
regex = { workspace = true }
|
||
|
|
|
||
|
|
# HTTP client for external services
|
||
|
|
reqwest = { workspace = true }
|
||
|
|
|
||
|
|
# Security and cryptography
|
||
|
|
ring = { workspace = true }
|
||
|
|
jsonwebtoken = { workspace = true }
|
||
|
|
argon2 = { workspace = true }
|
||
|
|
base64 = { workspace = true }
|
||
|
|
rand = { workspace = true }
|
||
|
|
aes-gcm = { workspace = true }
|
||
|
|
sha2 = { workspace = true }
|
||
|
|
hmac = { workspace = true }
|
||
|
|
|
||
|
|
# ============================================================================
|
||
|
|
# ADDITIONAL WORKSPACE DEPENDENCIES
|
||
|
|
# ============================================================================
|
||
|
|
|
||
|
|
# System utilities
|
||
|
|
dirs = { workspace = true }
|
||
|
|
|
||
|
|
# Security and cryptography
|
||
|
|
rsa = { workspace = true }
|
||
|
|
hkdf = { workspace = true }
|
||
|
|
zeroize = { workspace = true }
|
||
|
|
constant_time_eq = { workspace = true }
|
||
|
|
subtle = { workspace = true }
|
||
|
|
|
||
|
|
# Tower services
|
||
|
|
tower-service = { workspace = true }
|
||
|
|
tower_governor = { workspace = true }
|
||
|
|
|
||
|
|
# Cedar policy engine
|
||
|
|
cedar-policy = { workspace = true }
|
||
|
|
|
||
|
|
# Template engine
|
||
|
|
tera = { workspace = true }
|
||
|
|
|
||
|
|
# Statistics
|
||
|
|
statistics = { workspace = true }
|
||
|
|
|
||
|
|
# Caching and storage
|
||
|
|
redis = { workspace = true }
|
||
|
|
rocksdb = { workspace = true }
|
||
|
|
|
||
|
|
# Scheduling
|
||
|
|
cron = { workspace = true }
|
||
|
|
tokio-cron-scheduler = { workspace = true }
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
tokio-test = { workspace = true }
|
||
|
|
tempfile = { workspace = true }
|
||
|
|
assert_matches = { workspace = true }
|
||
|
|
|
||
|
|
# Library target
|
||
|
|
[lib]
|
||
|
|
name = "control_center"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
# Binary target
|
||
|
|
[[bin]]
|
||
|
|
name = "control-center"
|
||
|
|
path = "src/main.rs"
|