From 885f3a40d27323a73624a14047298691c9fab5d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 02:23:53 +0000 Subject: [PATCH 1/3] chore(deps)(deps): bump sysinfo from 0.32.1 to 0.38.4 Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.32.1 to 0.38.4. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/main/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.32.1...v0.38.4) --- updated-dependencies: - dependency-name: sysinfo dependency-version: 0.38.4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 96 ++++++++++++++++++++++++++++++++---------------------- Cargo.toml | 2 +- 2 files changed, 58 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9e3eba5a..258963d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1154,7 +1154,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.62.2", + "windows-core", ] [[package]] @@ -1752,6 +1752,25 @@ dependencies = [ "autocfg", ] +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "objc2-io-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" +dependencies = [ + "libc", + "objc2-core-foundation", +] + [[package]] name = "once_cell" version = "1.21.4" @@ -2691,14 +2710,15 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.32.1" +version = "0.38.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c33cd241af0f2e9e3b5c32163b873b29956890b5342e6745b917ce9d490f4af" +checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f" dependencies = [ - "core-foundation-sys", "libc", "memchr", "ntapi", + "objc2-core-foundation", + "objc2-io-kit", "windows", ] @@ -3345,24 +3365,23 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.57.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" dependencies = [ - "windows-core 0.57.0", - "windows-targets 0.52.6", + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", ] [[package]] -name = "windows-core" -version = "0.57.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.57.0", - "windows-interface 0.57.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core", ] [[package]] @@ -3371,22 +3390,22 @@ version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-implement 0.60.2", - "windows-interface 0.59.3", + "windows-implement", + "windows-interface", "windows-link", - "windows-result 0.4.1", + "windows-result", "windows-strings", ] [[package]] -name = "windows-implement" -version = "0.57.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core", + "windows-link", + "windows-threading", ] [[package]] @@ -3400,17 +3419,6 @@ dependencies = [ "syn", ] -[[package]] -name = "windows-interface" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "windows-interface" version = "0.59.3" @@ -3429,12 +3437,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core", + "windows-link", ] [[package]] @@ -3539,6 +3548,15 @@ dependencies = [ "windows_x86_64_msvc 0.53.1", ] +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" diff --git a/Cargo.toml b/Cargo.toml index 7c7f3cf6..aa9feceb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ clap = { version = "4", features = ["derive"] } csv = "1" regex = "1" dirs = "6" -sysinfo = { version = "0.32", default-features = false, features = ["system"] } +sysinfo = { version = "0.38", default-features = false, features = ["system"] } which = "7" open = "5" reqwest = { version = "0.13", features = ["json", "rustls", "webpki-roots", "query", "form"], default-features = false } From a22e8c9012094977acdd5ae27a2c1a3daf778e3c Mon Sep 17 00:00:00 2001 From: Nikita Pochaev Date: Mon, 11 May 2026 18:15:40 +0400 Subject: [PATCH 2/3] fix(mcp): adapt to sysinfo 0.38 RefreshKind/ProcessRefreshKind API sysinfo 0.33 renamed `RefreshKind::new()` -> `RefreshKind::nothing()` and likewise for `ProcessRefreshKind`. Switch the live-process probe call site to the new name so the 0.38 bump compiles. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/mcp_servers/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mcp_servers/mod.rs b/src/mcp_servers/mod.rs index 727cab4c..db335a25 100644 --- a/src/mcp_servers/mod.rs +++ b/src/mcp_servers/mod.rs @@ -295,7 +295,8 @@ pub fn scan(opts: ScanOptions) -> Result { // --- Live process matching --- if opts.probe_processes { let sys = sysinfo::System::new_with_specifics( - sysinfo::RefreshKind::new().with_processes(sysinfo::ProcessRefreshKind::new()), + sysinfo::RefreshKind::nothing() + .with_processes(sysinfo::ProcessRefreshKind::nothing()), ); for entry in claude_entries.iter_mut().chain(codex_entries.iter_mut()) { process::match_runtime(entry, &sys); From 30b95695d71b1e15c65d6ab76f8c406359c9522f Mon Sep 17 00:00:00 2001 From: Nikita Pochaev Date: Mon, 11 May 2026 18:45:55 +0400 Subject: [PATCH 3/3] style: apply cargo fmt to sysinfo refresh-kind call The hand-wrapped chain fits on one line under our rustfmt width budget; unbreak the wrap so `cargo fmt --check` passes. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/mcp_servers/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mcp_servers/mod.rs b/src/mcp_servers/mod.rs index db335a25..662102a8 100644 --- a/src/mcp_servers/mod.rs +++ b/src/mcp_servers/mod.rs @@ -295,8 +295,7 @@ pub fn scan(opts: ScanOptions) -> Result { // --- Live process matching --- if opts.probe_processes { let sys = sysinfo::System::new_with_specifics( - sysinfo::RefreshKind::nothing() - .with_processes(sysinfo::ProcessRefreshKind::nothing()), + sysinfo::RefreshKind::nothing().with_processes(sysinfo::ProcessRefreshKind::nothing()), ); for entry in claude_entries.iter_mut().chain(codex_entries.iter_mut()) { process::match_runtime(entry, &sys);