53 lines
1.6 KiB
TOML
53 lines
1.6 KiB
TOML
[package]
|
|
authors = ["Jesus Perez <jesus@librecloud.online>"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "nu-daemon"
|
|
repository = "https://github.com/jesusperezlorenzo/provisioning"
|
|
version = "1.0.11"
|
|
|
|
[[bin]]
|
|
name = "provisioning-nu-daemon"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# Core daemon library — nushell-persistent required for Nushell script execution
|
|
# (excluded from daemon-cli default due to rustls conflict with surrealdb workspace crates)
|
|
daemon-cli = { path = "../../prov-ecosystem/crates/daemon-cli", features = ["nushell-persistent"] }
|
|
|
|
# Async runtime and networking
|
|
axum = { version = "0.8", features = ["ws", "macros"] }
|
|
tokio = { version = "1.49", features = ["full"] }
|
|
tower = { version = "0.5", features = ["full"] }
|
|
tower-http = { version = "0.6", features = ["cors", "trace", "fs", "compression-gzip", "timeout"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.9"
|
|
|
|
# Platform configuration
|
|
platform-config = { path = "../platform-config" }
|
|
|
|
# NATS — component lifecycle subscriber
|
|
async-nats = "0.46"
|
|
|
|
# Centralized observability (logging, metrics, health, tracing)
|
|
observability = { path = "../../prov-ecosystem/crates/observability", package = "platform-observability", features = ["logging", "metrics-prometheus", "health"] }
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "2.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# CLI
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
|
|
# Utilities
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
dirs = "6.0"
|
|
uuid = { version = "1.20", features = ["v4", "serde"] }
|
|
futures = "0.3.32"
|