From 8a87b710e2e60e73add05d289ae71cbfcfc33054 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 13:13:36 +0000 Subject: [PATCH 1/2] chore(deps): bump the minor group with 7 updates Bumps the minor group with 7 updates: | Package | From | To | | --- | --- | --- | | [rmcp](https://github.com/modelcontextprotocol/rust-sdk) | `3.11.0` | `3.12.0` | | [sha2](https://github.com/RustCrypto/hashes) | `0.11.1` | `0.11.2` | | [cc](https://github.com/rust-lang/cc-rs) | `1.11.3` | `1.12.0` | | [find-msvc-tools](https://github.com/rust-lang/cc-rs) | `0.1.15` | `0.1.16` | | [rmcp-macros](https://github.com/modelcontextprotocol/rust-sdk) | `3.11.0` | `3.12.0` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.65` | `0.8.66` | | [zerocopy-derive](https://github.com/google/zerocopy) | `0.8.65` | `0.8.66` | Updates `rmcp` from 3.11.0 to 3.12.0 - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml) - [Commits](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-v3.11.0...rmcp-v3.12.0) Updates `sha2` from 0.11.1 to 0.11.2 - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.11.1...sha2-v0.11.2) Updates `cc` from 1.11.3 to 1.12.0 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.11.3...cc-v1.12.0) Updates `find-msvc-tools` from 0.1.15 to 0.1.16 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.15...find-msvc-tools-v0.1.16) Updates `rmcp-macros` from 3.11.0 to 3.12.0 - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml) - [Commits](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-macros-v3.11.0...rmcp-macros-v3.12.0) Updates `zerocopy` from 0.8.65 to 0.8.66 - [Release notes](https://github.com/google/zerocopy/releases) - [Commits](https://github.com/google/zerocopy/compare/v0.8.65...v0.8.66) Updates `zerocopy-derive` from 0.8.65 to 0.8.66 - [Release notes](https://github.com/google/zerocopy/releases) - [Commits](https://github.com/google/zerocopy/compare/v0.8.65...v0.8.66) --- updated-dependencies: - dependency-name: rmcp dependency-version: 3.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: sha2 dependency-version: 0.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: cc dependency-version: 1.12.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: minor - dependency-name: find-msvc-tools dependency-version: 0.1.16 dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor - dependency-name: rmcp-macros dependency-version: 3.12.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: minor - dependency-name: zerocopy dependency-version: 0.8.66 dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor - dependency-name: zerocopy-derive dependency-version: 0.8.66 dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c6418fc0..249be9ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -608,9 +608,9 @@ checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c" [[package]] name = "cc" -version = "1.11.3" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69" +checksum = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66" dependencies = [ "find-msvc-tools", "jobserver", @@ -1020,9 +1020,9 @@ checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" [[package]] name = "find-msvc-tools" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" +checksum = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8" [[package]] name = "fixedbitset" @@ -2332,16 +2332,16 @@ dependencies = [ [[package]] name = "rmcp" -version = "3.11.0" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391f153431ab68664d946513ea0cb3edbca78eaf99c5a983036cacab6220d85b" +checksum = "fc4fa9a7558c480e1817c0f02e9a73782001ac1f47fb9d26cc073915963282ea" dependencies = [ "base64 0.23.1", "bytes", - "chrono", "futures", "http", "indexmap 2.14.2", + "jiff 1.0.3", "libc", "pastey", "percent-encoding", @@ -2366,9 +2366,9 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "3.11.0" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3598e3f36f4af2b5219b133baf7d97a2197039225adc3d4acf3dd8805b5a2aef" +checksum = "43c1bf063ba32333267a8bc282ec33ae0edf56bf74890118cb0c7bf910a7a1c0" dependencies = [ "darling", "proc-macro2", @@ -2531,7 +2531,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab508826f74a77ca9d5aba6ff19b522583ee3eaf28a19384ff3d0e5835fadf6e" dependencies = [ - "chrono", "dyn-clone", "indexmap 2.14.2", "ref-cast", @@ -2706,9 +2705,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19" +checksum = "5b0e5c7d67bc53f435386b2130fdc900488c5703770f6d8a4633060e34288a27" dependencies = [ "cfg-if", "cpufeatures 0.3.1", @@ -3734,18 +3733,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.65" +version = "0.8.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32bc8a75f879cd6fe53a6bedf3c28f0e1b914c77424fc2be9e2ec85d7d25aff5" +checksum = "cba8a86aee14fc8cc6c208af60854b3d4ab7185a9a369a12c648faa2716ff42a" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.65" +version = "0.8.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8bfd2644ea1681f60cf95029ff18aa8ad1cc3f7b8fe37286f8e473bb29f816b" +checksum = "f89bca3b96ceb3cfcb4572790402f977442270d252b9a8504ebc258760c55f94" dependencies = [ "proc-macro2", "quote", From ccbfad658f2dda8e3abc1773ea55057e592c882f Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Tue, 1 Dec 2026 14:47:51 +0100 Subject: [PATCH 2/2] fix(test): box the stdio MCP initialization future MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With rmcp 3.12, storing the handshake inline pushes both Testy tool operations over Clippy’s large_futures threshold. Box the handshake inside the cancellation scope so list_tools and execute_tool_call can both be awaited directly. --- .../src/testy/v1.rs | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/agent-client-protocol-test/src/testy/v1.rs b/src/agent-client-protocol-test/src/testy/v1.rs index 43b0c22b..ab2f0c21 100644 --- a/src/agent-client-protocol-test/src/testy/v1.rs +++ b/src/agent-client-protocol-test/src/testy/v1.rs @@ -508,7 +508,8 @@ impl Testy { tool, params, } => Ok( - match Box::pin(self.execute_tool_call(&session_id, &server, &tool, params)) + match self + .execute_tool_call(&session_id, &server, &tool, params) .await { Ok(result) => (format!("OK: {result}"), StopReason::EndTurn), @@ -1353,7 +1354,7 @@ impl Testy { use rmcp::{ ClientLifecycleMode, ClientServiceExt, ServiceExt, model::{ClientCapabilities, ClientConfig, Implementation, ProtocolVersion}, - transport::{ConfigureCommandExt, TokioChildProcess}, + transport::TokioChildProcess, }; use tokio::process::Command; @@ -1382,17 +1383,14 @@ impl Testy { match mcp_server { McpServer::Stdio(stdio) => { self.run_until_session_cancelled(session_id, async move { + let mut command = Command::new(&stdio.command); + command.args(&stdio.args); + for env_var in &stdio.env { + command.env(&env_var.name, &env_var.value); + } + let transport = TokioChildProcess::new(command)?; // Standalone stdio retains the ordinary initialize handshake. - let mcp_client = ClientConfig::default() - .serve(TokioChildProcess::new( - Command::new(&stdio.command).configure(|cmd| { - cmd.args(&stdio.args); - for env_var in &stdio.env { - cmd.env(&env_var.name, &env_var.value); - } - }), - )?) - .await?; + let mcp_client = Box::pin(ClientConfig::default().serve(transport)).await?; operation(mcp_client).await })