feat: make pctx/Code Mode an optional dependency via 'code-mode' feature (#7567)

This commit is contained in:
jh-block
2026-02-27 16:51:13 +01:00
committed by GitHub
parent e37ac4a517
commit 69ad519373
6 changed files with 21 additions and 7 deletions
+3 -2
View File
@@ -11,11 +11,12 @@ description.workspace = true
workspace = true
[features]
default = []
default = ["code-mode"]
code-mode = ["goose/code-mode"]
cuda = ["goose/cuda"]
[dependencies]
goose = { path = "../goose" }
goose = { path = "../goose", default-features = false }
goose-mcp = { path = "../goose-mcp" }
rmcp = { workspace = true }
axum = { workspace = true, features = ["ws", "macros"] }