Skip to content

Conversation

@DaleSeo
Copy link
Contributor

@DaleSeo DaleSeo commented Dec 12, 2025

Updates process-wrap dependency from v8.2.1 to v9.0.0 and adapts code to API changes.

Motivation and Context

Fixes #578

The rmcp crate was using process-wrap v8.2.1, but v9.0.0 introduced breaking API changes that caused dependency conflicts for users who needed both rmcp and the latest process-wrap in their projects. This update ensures compatibility with process-wrap v9.0.0 and prevents version conflicts.

How Has This Been Tested?

All the existing unit tests are passing, and all the examples are building.

Breaking Changes

None for users of rmcp. This is an internal dependency update that maintains the same public API.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@github-actions github-actions bot added T-dependencies Dependencies related changes T-config Configuration file changes T-core Core library changes T-transport Transport layer changes labels Dec 12, 2025
self.transport.close().await?;

let wait_fut = Box::into_pin(child.wait());
let wait_fut = child.wait();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait() now returns Pin<Box<dyn Future>> so it can be awaited directly

@DaleSeo DaleSeo marked this pull request as ready for review December 12, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-core Core library changes T-dependencies Dependencies related changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

process-wrap v8.2.1, which uses the TokioCommandWrap struct. However, process-wrap v9.0.0 has renamed this to CommandWrap

1 participant