Skip to content

Commit a0f6737

Browse files
committed
fix: remove git dependency for crates.io compatibility
1 parent dc8d519 commit a0f6737

File tree

2 files changed

+12
-92
lines changed

2 files changed

+12
-92
lines changed

Cargo.lock

Lines changed: 0 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@ name = "example_20_enterprise_server"
9494
path = "src/examples/example_20_enterprise_server.rs"
9595

9696
[dependencies]
97-
# Core MCP SDK - using development branch for latest features
98-
# Note: Optional git dependency for MCP functionality
99-
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = [
100-
"server",
101-
"client",
102-
], optional = true }
103-
104-
# Alternative crates.io version (when available)
97+
# Core MCP SDK - development version from git (for local development)
98+
# NOTE: This is commented out for crates.io publishing since git dependencies aren't allowed
99+
# Uncomment for local development with full MCP support
100+
# rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = [
101+
# "server",
102+
# "client",
103+
# ], optional = true }
104+
105+
# Alternative: Use crates.io version when available
105106
# rmcp = { version = "0.1", features = ["server", "client"], optional = true }
106107

107108
# Essential async runtime
@@ -142,7 +143,6 @@ sha2 = "0.10"
142143
tempfile = "3.0"
143144

144145
[features]
145-
default = ["mcp"]
146-
mcp = ["rmcp"]
147-
examples-only = [
148-
] # For users who just want the educational code without MCP dependencies
146+
default = [] # No features by default for crates.io compatibility
147+
# mcp = ["rmcp"] # Commented out until rmcp is available on crates.io
148+
examples-only = [] # Educational examples without external MCP dependencies

0 commit comments

Comments
 (0)