v0.10.x to v1.0.0 Migration Guide
Public API Renamesโ
| Old Name | New Name |
|---|---|
PingParamaters | PingParameters |
Implementation.capabilites | Implementation.capabilities |
ElicitResult serialization | Fixed |
Removalsโ
The following deprecated items have been removed:
json-with-sourceresponse type (never supported by any implementation)server_driver.rsmodule- Shutdown functionality from
ClientRuntime
What Didn't Changeโ
- Handler traits remain open (unsealed) - no breaking changes to handler definitions
- All crate names and feature flags remain the same
- Migration requires only updating version numbers and fixing the renames above
Update Cargo.tomlโ
[dependencies]
rust-mcp-sdk = "1.0"
rust-mcp-schema = "1.0"
rust-mcp-axum = "1.0"
rust-mcp-actix = "1.0"
rust-mcp-macros = "1.0"