Skip to content

Comments

feature: allow lib use to not include rmcp#5

Merged
tyrchen merged 1 commit intomasterfrom
feature/refactor-deps
Apr 29, 2025
Merged

feature: allow lib use to not include rmcp#5
tyrchen merged 1 commit intomasterfrom
feature/refactor-deps

Conversation

@tyrchen
Copy link
Owner

@tyrchen tyrchen commented Apr 29, 2025

No description provided.

@tyrchen tyrchen requested a review from Copilot April 29, 2025 03:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the library to conditionally include the mcp module and its related functionality, allowing consumers to opt out of including rmcp.

  • Updates src/lib.rs to gate the mcp module and its public exports under the "mcp" feature.
  • Revises Cargo.toml to mark rmcp and other dependencies as optional and defines feature groups for "cli" and "mcp".
  • Updates README.md to reflect the new dependency configuration.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

File Description
src/lib.rs Wraps mcp module and public re-export in a cfg feature block.
README.md Updates dependency snippet to disable default features.
Cargo.toml Sets optional dependencies and defines feature groups.

@tyrchen tyrchen merged commit 85b3193 into master Apr 29, 2025
1 check passed
@tyrchen tyrchen deleted the feature/refactor-deps branch April 29, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant