runtime: Bump promethus

Bump this crate to remove the old version of protobuf
and remediate RUSTSEC-2024-0437

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-07-21 10:29:57 +01:00
parent e66aa1ef8c
commit 28929f5b3e
2 changed files with 18 additions and 25 deletions

41
src/agent/Cargo.lock generated
View File

@ -2035,7 +2035,7 @@ dependencies = [
"opentelemetry", "opentelemetry",
"procfs 0.12.0", "procfs 0.12.0",
"prometheus", "prometheus",
"protobuf 3.7.2", "protobuf",
"protocols", "protocols",
"regex", "regex",
"rstest", "rstest",
@ -3095,22 +3095,21 @@ dependencies = [
[[package]] [[package]]
name = "procfs" name = "procfs"
version = "0.16.0" version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "731e0d9356b0c25f16f33b5be79b1c57b562f141ebfcdb0ad8ac2c13a24293b4" checksum = "cc5b72d8145275d844d4b5f6d4e1eef00c8cd889edb6035c21675d1bb1f45c9f"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.0",
"hex", "hex",
"lazy_static",
"procfs-core", "procfs-core",
"rustix 0.38.44", "rustix 0.38.44",
] ]
[[package]] [[package]]
name = "procfs-core" name = "procfs-core"
version = "0.16.0" version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d3554923a69f4ce04c4a754260c338f505ce22642d3830e049a399fc2059a29" checksum = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.0",
"hex", "hex",
@ -3118,9 +3117,9 @@ dependencies = [
[[package]] [[package]]
name = "prometheus" name = "prometheus"
version = "0.13.4" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" checksum = "3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"fnv", "fnv",
@ -3128,9 +3127,9 @@ dependencies = [
"libc", "libc",
"memchr", "memchr",
"parking_lot", "parking_lot",
"procfs 0.16.0", "procfs 0.17.0",
"protobuf 2.28.0", "protobuf",
"thiserror 1.0.69", "thiserror 2.0.12",
] ]
[[package]] [[package]]
@ -3184,12 +3183,6 @@ dependencies = [
"prost", "prost",
] ]
[[package]]
name = "protobuf"
version = "2.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
[[package]] [[package]]
name = "protobuf" name = "protobuf"
version = "3.7.2" version = "3.7.2"
@ -3209,7 +3202,7 @@ checksum = "5d3976825c0014bbd2f3b34f0001876604fe87e0c86cd8fa54251530f1544ace"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"once_cell", "once_cell",
"protobuf 3.7.2", "protobuf",
"protobuf-parse", "protobuf-parse",
"regex", "regex",
"tempfile", "tempfile",
@ -3225,7 +3218,7 @@ dependencies = [
"anyhow", "anyhow",
"indexmap 2.9.0", "indexmap 2.9.0",
"log", "log",
"protobuf 3.7.2", "protobuf",
"protobuf-support", "protobuf-support",
"tempfile", "tempfile",
"thiserror 1.0.69", "thiserror 1.0.69",
@ -3247,7 +3240,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"oci-spec", "oci-spec",
"protobuf 3.7.2", "protobuf",
"serde", "serde",
"serde_json", "serde_json",
"ttrpc", "ttrpc",
@ -3677,7 +3670,7 @@ dependencies = [
"nix 0.26.4", "nix 0.26.4",
"oci-spec", "oci-spec",
"path-absolutize", "path-absolutize",
"protobuf 3.7.2", "protobuf",
"protocols", "protocols",
"regex", "regex",
"rlimit", "rlimit",
@ -4590,7 +4583,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"nix 0.26.4", "nix 0.26.4",
"protobuf 3.7.2", "protobuf",
"protobuf-codegen", "protobuf-codegen",
"thiserror 1.0.69", "thiserror 1.0.69",
"tokio", "tokio",
@ -4604,7 +4597,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e5c657ef5cea6f6c6073c1be0787ba4482f42a569d4821e467daec795271f86" checksum = "0e5c657ef5cea6f6c6073c1be0787ba4482f42a569d4821e467daec795271f86"
dependencies = [ dependencies = [
"protobuf 3.7.2", "protobuf",
"protobuf-codegen", "protobuf-codegen",
"protobuf-support", "protobuf-support",
"ttrpc-compiler", "ttrpc-compiler",
@ -4620,7 +4613,7 @@ dependencies = [
"prost", "prost",
"prost-build", "prost-build",
"prost-types", "prost-types",
"protobuf 3.7.2", "protobuf",
"protobuf-codegen", "protobuf-codegen",
"tempfile", "tempfile",
] ]

View File

@ -50,7 +50,7 @@ slog-stdlog = "4.0.0"
log = "0.4.11" log = "0.4.11"
cfg-if = "1.0.0" cfg-if = "1.0.0"
prometheus = { version = "0.13.0", features = ["process"] } prometheus = { version = "0.14.0", features = ["process"] }
procfs = "0.12.0" procfs = "0.12.0"
anyhow = "1" anyhow = "1"