返回 CodeWhale
Cargo.toml
根目录 / crates / app-server / Cargo.toml
1 [package]
2 name = "codewhale-app-server"
3 version.workspace = true
4 edition.workspace = true
5 rust-version.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 description = "App-server transport for Codewhale runtime integrations"
9 # `codewhale app-server` is owned by codewhale-cli; this crate is library-only.
10 autobins = false
11 exclude = [
12 "tests/**",
13 "src/**/tests.rs",
14 "src/**/tests/**",
15 "src/**/*_tests.rs",
16 "src/**/*test_support.rs",
17 "src/runtime_web/app.test.mjs",
18 ]
19
20 [lints]
21 workspace = true
22
23 [features]
24 default = []
25 test-support = ["codewhale-engine/test-support"]
26
27 [dependencies]
28 agent-client-protocol.workspace = true
29 codewhale-account-cli = { path = "../account-cli", version = "0.10.5" }
30 codewhale-app-server-protocol = { path = "../app-server-protocol", version = "0.10.5" }
31 anyhow.workspace = true
32 axum.workspace = true
33 chrono.workspace = true
34 codewhale-config = { path = "../config", version = "0.10.5" }
35 codewhale-core = { path = "../core", version = "0.10.5" }
36 codewhale-hooks = { path = "../hooks", version = "0.10.5" }
37 codewhale-palette = { path = "../palette", version = "0.10.5", default-features = false }
38 codewhale-paths = { path = "../paths", version = "0.10.5" }
39 codewhale-protocol = { path = "../protocol", version = "0.10.5" }
40 codewhale-release = { path = "../release", version = "0.10.5" }
41 codewhale-runtime = { path = "../runtime", version = "0.10.5" }
42 codewhale-state = { path = "../state", version = "0.10.5" }
43 serde.workspace = true
44 serde_json = { workspace = true, features = ["preserve_order", "raw_value"] }
45 rustls.workspace = true
46 thiserror.workspace = true
47 tokio.workspace = true
48 tower-http.workspace = true
49 tracing.workspace = true
50 reqwest = { workspace = true, features = ["json"] }
51 uuid.workspace = true
52 sha2.workspace = true
53 async-stream = "0.3.6"
54 base64 = "0.23.1"
55 clap.workspace = true
56 codewhale-command-contract = { path = "../command-contract", version = "0.10.5" }
57 codewhale-dependencies = { path = "../dependencies", version = "0.10.5" }
58 codewhale-engine = { path = "../engine", version = "0.10.5" }
59 codewhale-error-taxonomy = { path = "../error-taxonomy", version = "0.10.5" }
60 codewhale-execpolicy = { path = "../execpolicy", version = "0.10.5" }
61 codewhale-lane = { path = "../lane", version = "0.10.5" }
62 codewhale-localization = { path = "../localization", version = "0.10.5" }
63 codewhale-lsp = { path = "../lsp", version = "0.10.5" }
64 codewhale-mcp = { path = "../mcp", version = "0.10.5" }
65 codewhale-memory = { path = "../memory", version = "0.10.5" }
66 codewhale-models = { path = "../models", version = "0.10.5" }
67 codewhale-net = { path = "../net", version = "0.10.5" }
68 codewhale-notify = { path = "../notify", version = "0.10.5" }
69 codewhale-plugins = { path = "../plugins", version = "0.10.5" }
70 codewhale-sandbox = { path = "../sandbox", version = "0.10.5" }
71 codewhale-secrets = { path = "../secrets", version = "0.10.5" }
72 codewhale-skill-install = { path = "../skill-install", version = "0.10.5" }
73 codewhale-skills = { path = "../skills", version = "0.10.5" }
74 codewhale-snapshot = { path = "../snapshot", version = "0.10.5" }
75 codewhale-telemetry = { path = "../telemetry", version = "0.10.5" }
76 codewhale-tools = { path = "../tools", version = "0.10.5" }
77 codewhale-tui-kit = { path = "../tui-kit", version = "0.10.5" }
78 codewhale-util = { path = "../util", version = "0.10.5" }
79 colored = "3.0.0"
80 futures-util = "0.3.31"
81 tokio-tungstenite = "0.30"
82 ignore = "0.4"
83 parking_lot = "0.12"
84 qrcode = { version = "0.14", default-features = false }
85 regex = "1.11"
86 rmcp = { version = "3.9.0", default-features = false, features = ["auth", "client", "server", "transport-io"] }
87 semver.workspace = true
88 tempfile.workspace = true
89 tokio-util = { version = "0.7.16", features = ["io"] }
90 toml.workspace = true
91 url = "2.5"
92 urlencoding = "2.1"
93 webbrowser = "1.0"
94
95 [dev-dependencies]
96 agent-client-protocol-schema.workspace = true
97 rusqlite.workspace = true
98 tempfile.workspace = true
99 tower = "0.5"
100 async-trait.workspace = true
101 codewhale-agent-contract = { path = "../agent-contract", version = "0.10.5", features = [
102 "test-support",
103 ] }
104 codewhale-config = { path = "../config", version = "0.10.5", features = ["schema", "test-support"] }
105 codewhale-engine = { path = "../engine", version = "0.10.5", features = ["test-support"] }
106 codewhale-notify = { path = "../notify", version = "0.10.5", features = ["test-thread-scoped-state"] }
107 codewhale-runtime = { path = "../runtime", version = "0.10.5", features = [
108 "test-support",
109 "test-thread-scoped-state",
110 ] }
111 image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp", "gif"] }
112 rquickjs.workspace = true
113 rustls.workspace = true
114 wiremock = "0.6"
115 reqwest = { workspace = true, features = ["stream"] }
116
117 [target.'cfg(windows)'.dependencies]
118 windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_Threading", "Win32_System_Pipes"] }
119
120 [build-dependencies]
121 codewhale-build-support = { path = "../build-support", version = "0.10.5" }
122
123 [target.'cfg(unix)'.dependencies]
124 libc = "0.2"
125
125 lines TOML