Skip to content

Commit 7d5f69b

Browse files
committed
Only enable unstable_mcp_over_acp in test builds
The conductor and polyfill don't reference McpServer::Acp or McpCapabilities.acp in their source — only snapshot tests see the field in serialized output. Move the feature to dev-dependencies.
1 parent 5d728b7 commit 7d5f69b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/agent-client-protocol-conductor/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path = "src/main.rs"
1818
test-support = []
1919

2020
[dependencies]
21-
agent-client-protocol = { workspace = true, features = ["unstable_mcp_over_acp"] }
21+
agent-client-protocol = { workspace = true }
2222
agent-client-protocol-schema.workspace = true
2323
agent-client-protocol-trace-viewer.workspace = true
2424
anyhow.workspace = true
@@ -44,6 +44,7 @@ tracing-subscriber.workspace = true
4444
uuid.workspace = true
4545

4646
[dev-dependencies]
47+
agent-client-protocol = { workspace = true, features = ["unstable_mcp_over_acp"] }
4748
agent-client-protocol-test.workspace = true
4849
yopo.workspace = true
4950
expect-test.workspace = true

src/agent-client-protocol-polyfill/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["acp", "agent", "mcp", "polyfill"]
1111
categories = ["development-tools"]
1212

1313
[dependencies]
14-
agent-client-protocol = { workspace = true, features = ["unstable_mcp_over_acp"] }
14+
agent-client-protocol = { workspace = true }
1515
agent-client-protocol-schema.workspace = true
1616
anyhow.workspace = true
1717
async-stream.workspace = true

0 commit comments

Comments
 (0)