Conversation
Migrate all model struct construction from struct literals to builder pattern required by rmcp 1.x #[non_exhaustive] changes. - Cargo.toml: rmcp 0.16 → 1.1 - server.rs: ServerInfo, ServerCapabilities, CompleteResult builders - prompts: Prompt, PromptArgument, PromptMessage, GetPromptResult builders - resources: ListResourcesResult, ListResourceTemplatesResult, ReadResourceResult builders - tests: ReadResourceRequestParams, SubscribeRequestParams, PaginatedRequestParams builders - docs: CHANGELOG, README updated; spec version stays 2025-11-25 (rmcp LATEST is 2025-06-18, SDK hasn't added 2025-11-25 yet) - Filed upstream fix for #[task_handler] deprecated type aliases (rust-sdk#727) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
==========================================
- Coverage 86.86% 86.49% -0.37%
==========================================
Files 12 12
Lines 2117 2022 -95
==========================================
- Hits 1839 1749 -90
+ Misses 278 273 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
::new()+.with_*()builder pattern (#[non_exhaustive])ProtocolVersion::LATESTis2025-06-18in rmcp 1.x (SDK hasn't added2025-11-25yet — our docs reference the current MCP spec2025-11-25)#[task_handler]macro deprecated type aliases (rust-sdk#727)Changes
Cargo.toml0.16→1.1src/server.rsServerInfo,ServerCapabilities,CompleteResult→ builders;StreamableHttpServerConfiggainsjson_responsefieldsrc/prompts/templates.rsPrompt,PromptArgument,PromptMessage→ builderssrc/prompts/mod.rsGetPromptResult→ buildersrc/resources/mod.rsListResourcesResult,ListResourceTemplatesResult,ReadResourceResult→ builderstests/ReadResourceRequestParams,SubscribeRequestParams,PaginatedRequestParams→ buildersCHANGELOG.md[Unreleased]entry for rmcp 1.x migrationREADME.md(rmcp 1.x SDK)to featuresTest plan
cargo test --all-features)🤖 Generated with Claude Code