zed/tooling
Kirill Bulatov 21f16f7b5b
Speed up cargo build -p zed compilation (#62059)
Splits the crate graph.
Before, the compilation graph: `editor → picker_preview → search →
project_panel → open_path_prompt → recent_projects → title_bar →
collab_ui → zed`
After, the compilation graph: `editor → picker_preview → search →
agent_ui → sidebar → zed`

With sccache disabled and project fully built, `touch
crates/editor/src/editor.rs` and `cargo build -p zed` took time
Before (5e1fd392f6): 13.19s
After: 11.85s (-10.2% speed up)

Each commit contains a separate compilation instructions, and a test in
the final commit.
The main approach is to split coupled crates and replace them with
`zed_actions` and move some shared functionality into `git_ui_core` new,
shared module.

I've also tried to add a test to prevent common pitfalls, but not sure
I'm happy with the end result — can remove it if it looks too synthetic.

Release Notes:

- N/A
2026-08-01 19:42:37 +00:00
..
compliance compliance: Fix futures dependency (#55003) 2026-04-27 13:30:00 +00:00
lints Add license symlinks to lint test fixture crates (#60505) 2026-07-07 01:35:06 +00:00
perf perf: Fixup Hyperfine finding (#41837) 2025-11-03 17:36:33 +00:00
xtask Speed up cargo build -p zed compilation (#62059) 2026-08-01 19:42:37 +00:00