move metrics dependency to workspace Cargo.toml

This commit is contained in:
spiral 2023-03-19 10:44:37 -04:00
parent 0cebf5e114
commit e711e86ea3
3 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@ members = [
anyhow = "1"
fred = { version = "5.2.0", default-features = false, features = ["tracing", "pool-prefer-active"] }
lazy_static = "1.4.0"
metrics = "0.20.1"
serde = "1.0.152"
tokio = { version = "1.25.0", features = ["full"] }
tracing = "0.1.37"

View File

@ -8,7 +8,7 @@ anyhow = { workspace = true }
config = "0.13.3"
gethostname = "0.4.1"
lazy_static = { workspace = true }
metrics = "0.20.1"
metrics = { workspace = true }
metrics-exporter-prometheus = { version = "0.11.0", default-features = false, features = ["tokio", "http-listener", "tracing"] }
serde = { workspace = true }
tokio = { workspace = true }

View File

@ -9,9 +9,9 @@ axum = "0.6.4"
fred = { workspace = true }
http = "0.2.8"
hyper-reverse-proxy = "0.5.1"
lazy_static = "1.4.0"
lazy_static = { workspace = true }
libpk = { path = "../../lib/libpk" }
metrics = "0.20.1"
metrics = { workspace = true }
tokio = { workspace = true }
tower = "0.4.13"
tracing = { workspace = true }