Address cargo audit failure RUSTSEC-2024-0437 (#7114)

Resolves #7091


  The `prometheus` crate pulls in `protobuf 2.x` which fails cargo audit. We actually dont use any `protobuf` related features in LH. By disabling default features for `prometheus`, we no longer pull in the `protobuf` crate
This commit is contained in:
Eitan Seri-Levi
2025-03-12 21:17:33 -06:00
committed by GitHub
parent 2c40f0b004
commit 3a555f571f
3 changed files with 2 additions and 9 deletions

View File

@@ -161,7 +161,7 @@ mockito = "1.5.0"
num_cpus = "1"
parking_lot = "0.12"
paste = "1"
prometheus = "0.13"
prometheus = { version = "0.13", default-features = false }
quickcheck = "1"
quickcheck_macros = "1"
quote = "1"