Commit dc3e6a2
authored
perf: optimize workspace dependencies for faster builds (#542)
- Remove 100+ unused dependencies identified by cargo-machete
- Upgrade cortex-app-server from axum 0.7 to 0.8 (workspace version)
- Upgrade cortex-lsp to use workspace dependencies (reqwest, tokio, serde, etc.)
- Consolidate tokio versions across feature crates to use workspace reference
- Reduce Cargo.lock by ~1400 lines
Dependency metrics:
- Before: 3958 dependency tree lines
- After: 3257 dependency tree lines (~18% reduction)
- Duplicate packages reduced from 180+ to ~160
Affected crates (54 files changed):
- Core: cortex-cli, cortex-engine, cortex-app-server
- Utils: cortex-utils-git, cortex-utils-string, cortex-utils-pty, cortex-utils-cache, cortex-utils-image
- Features: cortex-plugins, cortex-otel, cortex-sandbox, cortex-execpolicy, cortex-lsp, cortex-core, cortex-commands, cortex-login, cortex-common, cortex-skills, cortex-feedback, cortex-tui, cortex-ghost, cortex-compact, cortex-batch, cortex-review, cortex-resume, cortex-share, cortex-ratelimits, cortex-experimental, cortex-migrations, cortex-linux-sandbox, cortex-windows-sandbox, cortex-shell-snapshot, cortex-exec, cortex-collab, cortex-network-proxy, cortex-mcp-server, cortex-prompt-harness, cortex-protocol, cortex-update, cortex-slack, cortex-tui-capture, cortex-tui-components
- GUI: cortex-gui, cortex-desktop-cli
- OpenTUI: opentui-terminal, opentui-buffer, opentui-layout, opentui-syntax1 parent d47ed16 commit dc3e6a2
57 files changed
Lines changed: 248 additions & 2265 deletions
File tree
- opentui-rs/crates
- opentui-buffer
- opentui-layout
- opentui-syntax
- opentui-terminal
- src
- cortex-agents
- cortex-app-server
- src
- cortex-batch
- cortex-cli
- cortex-collab
- cortex-commands
- cortex-common
- cortex-compact
- cortex-core
- cortex-engine
- cortex-execpolicy
- cortex-exec
- cortex-experimental
- cortex-feedback
- cortex-ghost
- cortex-gui
- cli
- src-tauri
- gen/schemas
- window-vibrancy/examples/tauri/src-tauri
- cortex-hooks
- cortex-linux-sandbox
- cortex-login
- cortex-lsp
- cortex-mcp-server
- cortex-migrations
- cortex-network-proxy
- cortex-otel
- cortex-plugins
- cortex-prompt-harness
- cortex-protocol
- cortex-ratelimits
- cortex-resume
- cortex-review
- cortex-sandbox
- cortex-shell-snapshot
- cortex-skills
- cortex-slack
- cortex-snapshot
- cortex-tui-capture
- cortex-tui-components
- cortex-tui
- cortex-update
- cortex-utils
- cache
- git
- image
- pty
- string
- cortex-windows-sandbox
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | | - | |
62 | | - | |
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 64 | | |
74 | 65 | | |
75 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 69 | + | |
78 | 70 | | |
79 | | - | |
80 | 71 | | |
81 | 72 | | |
82 | 73 | | |
83 | 74 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 75 | | |
91 | 76 | | |
92 | 77 | | |
| |||
0 commit comments