mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-12 09:25:57 +01:00
* feat: introduce `cdk-prometheus` crate with Prometheus server and CDK-specific metrics support
48 lines
914 B
TOML
48 lines
914 B
TOML
[package]
|
|
name = "cdk-prometheus"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
readme = "README.md"
|
|
description = "Prometheus metrics export server for CDK applications"
|
|
|
|
[features]
|
|
default = ["system-metrics"]
|
|
system-metrics = ["sysinfo"]
|
|
|
|
[dependencies]
|
|
# Prometheus
|
|
prometheus = "0.13"
|
|
|
|
# Async runtime
|
|
tokio.workspace = true
|
|
futures.workspace = true
|
|
|
|
# Error handling
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
# Serialization
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
# System metrics (optional)
|
|
sysinfo = { version = "0.32", optional = true }
|
|
|
|
# Tracing
|
|
tracing.workspace = true
|
|
|
|
# Utility
|
|
once_cell.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["full"] }
|
|
reqwest.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|