From e711e86ea329f513db12f14688b952e1600bbcf2 Mon Sep 17 00:00:00 2001 From: spiral Date: Sun, 19 Mar 2023 10:44:37 -0400 Subject: [PATCH] move metrics dependency to workspace Cargo.toml --- Cargo.toml | 1 + lib/libpk/Cargo.toml | 2 +- services/api/Cargo.toml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa978adc..2d00f8ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/lib/libpk/Cargo.toml b/lib/libpk/Cargo.toml index bd27edb3..3749afeb 100644 --- a/lib/libpk/Cargo.toml +++ b/lib/libpk/Cargo.toml @@ -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 } diff --git a/services/api/Cargo.toml b/services/api/Cargo.toml index 67bc0b99..b2efc8c2 100644 --- a/services/api/Cargo.toml +++ b/services/api/Cargo.toml @@ -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 }