1[workspace]
2resolver = "2"
3members = [
4 "crates/acp_tools",
5 "crates/acp_thread",
6 "crates/action_log",
7 "crates/activity_indicator",
8 "crates/agent",
9 "crates/agent2",
10 "crates/agent_servers",
11 "crates/agent_settings",
12 "crates/agent_ui",
13 "crates/ai_onboarding",
14 "crates/anthropic",
15 "crates/askpass",
16 "crates/assets",
17 "crates/assistant_context",
18 "crates/assistant_slash_command",
19 "crates/assistant_slash_commands",
20 "crates/assistant_tool",
21 "crates/assistant_tools",
22 "crates/audio",
23 "crates/auto_update",
24 "crates/auto_update_helper",
25 "crates/auto_update_ui",
26 "crates/aws_http_client",
27 "crates/bedrock",
28 "crates/breadcrumbs",
29 "crates/buffer_diff",
30 "crates/call",
31 "crates/channel",
32 "crates/cli",
33 "crates/client",
34 "crates/clock",
35 "crates/cloud_api_client",
36 "crates/cloud_api_types",
37 "crates/cloud_llm_client",
38 "crates/collab",
39 "crates/collab_ui",
40 "crates/collections",
41 "crates/command_palette",
42 "crates/command_palette_hooks",
43 "crates/component",
44 "crates/context_server",
45 "crates/copilot",
46 "crates/crashes",
47 "crates/credentials_provider",
48 "crates/dap",
49 "crates/dap_adapters",
50 "crates/db",
51 "crates/debug_adapter_extension",
52 "crates/debugger_tools",
53 "crates/debugger_ui",
54 "crates/deepseek",
55 "crates/diagnostics",
56 "crates/docs_preprocessor",
57 "crates/edit_prediction",
58 "crates/edit_prediction_button",
59 "crates/editor",
60 "crates/eval",
61 "crates/explorer_command_injector",
62 "crates/extension",
63 "crates/extension_api",
64 "crates/extension_cli",
65 "crates/extension_host",
66 "crates/extensions_ui",
67 "crates/feature_flags",
68 "crates/feedback",
69 "crates/file_finder",
70 "crates/file_icons",
71 "crates/fs",
72 "crates/fsevent",
73 "crates/fuzzy",
74 "crates/git",
75 "crates/git_hosting_providers",
76 "crates/git_ui",
77 "crates/go_to_line",
78 "crates/google_ai",
79 "crates/gpui",
80 "crates/gpui_macros",
81 "crates/gpui_tokio",
82 "crates/html_to_markdown",
83 "crates/http_client",
84 "crates/http_client_tls",
85 "crates/icons",
86 "crates/image_viewer",
87 "crates/inspector_ui",
88 "crates/install_cli",
89 "crates/jj",
90 "crates/jj_ui",
91 "crates/journal",
92 "crates/keymap_editor",
93 "crates/language",
94 "crates/language_extension",
95 "crates/language_model",
96 "crates/language_models",
97 "crates/language_selector",
98 "crates/language_tools",
99 "crates/languages",
100 "crates/livekit_api",
101 "crates/livekit_client",
102 "crates/lmstudio",
103 "crates/lsp",
104 "crates/markdown",
105 "crates/markdown_preview",
106 "crates/media",
107 "crates/menu",
108 "crates/migrator",
109 "crates/mistral",
110 "crates/multi_buffer",
111 "crates/nc",
112 "crates/net",
113 "crates/node_runtime",
114 "crates/notifications",
115 "crates/ollama",
116 "crates/onboarding",
117 "crates/open_ai",
118 "crates/open_router",
119 "crates/outline",
120 "crates/outline_panel",
121 "crates/panel",
122 "crates/paths",
123 "crates/picker",
124 "crates/prettier",
125 "crates/project",
126 "crates/project_panel",
127 "crates/project_symbols",
128 "crates/prompt_store",
129 "crates/proto",
130 "crates/recent_projects",
131 "crates/refineable",
132 "crates/refineable/derive_refineable",
133 "crates/release_channel",
134 "crates/scheduler",
135 "crates/remote",
136 "crates/remote_server",
137 "crates/repl",
138 "crates/reqwest_client",
139 "crates/rich_text",
140 "crates/rope",
141 "crates/rpc",
142 "crates/rules_library",
143 "crates/schema_generator",
144 "crates/search",
145 "crates/semantic_index",
146 "crates/semantic_version",
147 "crates/session",
148 "crates/settings",
149 "crates/settings_profile_selector",
150 "crates/settings_ui",
151 "crates/settings_ui_macros",
152 "crates/snippet",
153 "crates/snippet_provider",
154 "crates/snippets_ui",
155 "crates/sqlez",
156 "crates/sqlez_macros",
157 "crates/story",
158 "crates/storybook",
159 "crates/streaming_diff",
160 "crates/sum_tree",
161 "crates/supermaven",
162 "crates/supermaven_api",
163 "crates/svg_preview",
164 "crates/system_specs",
165 "crates/tab_switcher",
166 "crates/task",
167 "crates/tasks_ui",
168 "crates/telemetry",
169 "crates/telemetry_events",
170 "crates/terminal",
171 "crates/terminal_view",
172 "crates/text",
173 "crates/theme",
174 "crates/theme_extension",
175 "crates/theme_importer",
176 "crates/theme_selector",
177 "crates/time_format",
178 "crates/title_bar",
179 "crates/toolchain_selector",
180 "crates/ui",
181 "crates/ui_input",
182 "crates/ui_macros",
183 "crates/ui_prompt",
184 "crates/util",
185 "crates/util_macros",
186 "crates/vercel",
187 "crates/vim",
188 "crates/vim_mode_setting",
189 "crates/watch",
190 "crates/web_search",
191 "crates/web_search_providers",
192 "crates/workspace",
193 "crates/worktree",
194 "crates/x_ai",
195 "crates/zed",
196 "crates/zed_actions",
197 "crates/zed_env_vars",
198 "crates/zeta",
199 "crates/zeta_cli",
200 "crates/zlog",
201 "crates/zlog_settings",
202
203 #
204 # Extensions
205 #
206
207 "extensions/glsl",
208 "extensions/html",
209 "extensions/proto",
210 "extensions/ruff",
211 "extensions/slash-commands-example",
212 "extensions/snippets",
213 "extensions/test-extension",
214 "extensions/toml",
215
216 #
217 # Tooling
218 #
219
220 "tooling/workspace-hack",
221 "tooling/xtask",
222]
223default-members = ["crates/zed"]
224
225[workspace.package]
226publish = false
227edition = "2024"
228
229[workspace.dependencies]
230
231#
232# Workspace member crates
233#
234
235acp_tools = { path = "crates/acp_tools" }
236acp_thread = { path = "crates/acp_thread" }
237action_log = { path = "crates/action_log" }
238agent = { path = "crates/agent" }
239agent2 = { path = "crates/agent2" }
240activity_indicator = { path = "crates/activity_indicator" }
241agent_ui = { path = "crates/agent_ui" }
242agent_settings = { path = "crates/agent_settings" }
243agent_servers = { path = "crates/agent_servers" }
244ai = { path = "crates/ai" }
245ai_onboarding = { path = "crates/ai_onboarding" }
246anthropic = { path = "crates/anthropic" }
247askpass = { path = "crates/askpass" }
248assets = { path = "crates/assets" }
249assistant_context = { path = "crates/assistant_context" }
250assistant_slash_command = { path = "crates/assistant_slash_command" }
251assistant_slash_commands = { path = "crates/assistant_slash_commands" }
252assistant_tool = { path = "crates/assistant_tool" }
253assistant_tools = { path = "crates/assistant_tools" }
254audio = { path = "crates/audio" }
255auto_update = { path = "crates/auto_update" }
256auto_update_helper = { path = "crates/auto_update_helper" }
257auto_update_ui = { path = "crates/auto_update_ui" }
258aws_http_client = { path = "crates/aws_http_client" }
259bedrock = { path = "crates/bedrock" }
260breadcrumbs = { path = "crates/breadcrumbs" }
261buffer_diff = { path = "crates/buffer_diff" }
262call = { path = "crates/call" }
263channel = { path = "crates/channel" }
264cli = { path = "crates/cli" }
265client = { path = "crates/client" }
266clock = { path = "crates/clock" }
267cloud_api_client = { path = "crates/cloud_api_client" }
268cloud_api_types = { path = "crates/cloud_api_types" }
269cloud_llm_client = { path = "crates/cloud_llm_client" }
270collab = { path = "crates/collab" }
271collab_ui = { path = "crates/collab_ui" }
272collections = { path = "crates/collections" }
273command_palette = { path = "crates/command_palette" }
274command_palette_hooks = { path = "crates/command_palette_hooks" }
275component = { path = "crates/component" }
276context_server = { path = "crates/context_server" }
277copilot = { path = "crates/copilot" }
278crashes = { path = "crates/crashes" }
279credentials_provider = { path = "crates/credentials_provider" }
280dap = { path = "crates/dap" }
281dap_adapters = { path = "crates/dap_adapters" }
282db = { path = "crates/db" }
283debug_adapter_extension = { path = "crates/debug_adapter_extension" }
284debugger_tools = { path = "crates/debugger_tools" }
285debugger_ui = { path = "crates/debugger_ui" }
286deepseek = { path = "crates/deepseek" }
287diagnostics = { path = "crates/diagnostics" }
288editor = { path = "crates/editor" }
289extension = { path = "crates/extension" }
290extension_host = { path = "crates/extension_host" }
291extensions_ui = { path = "crates/extensions_ui" }
292feature_flags = { path = "crates/feature_flags" }
293feedback = { path = "crates/feedback" }
294file_finder = { path = "crates/file_finder" }
295file_icons = { path = "crates/file_icons" }
296fs = { path = "crates/fs" }
297fsevent = { path = "crates/fsevent" }
298fuzzy = { path = "crates/fuzzy" }
299git = { path = "crates/git" }
300git_hosting_providers = { path = "crates/git_hosting_providers" }
301git_ui = { path = "crates/git_ui" }
302go_to_line = { path = "crates/go_to_line" }
303google_ai = { path = "crates/google_ai" }
304gpui = { path = "crates/gpui", default-features = false }
305gpui_macros = { path = "crates/gpui_macros" }
306gpui_tokio = { path = "crates/gpui_tokio" }
307html_to_markdown = { path = "crates/html_to_markdown" }
308http_client = { path = "crates/http_client" }
309http_client_tls = { path = "crates/http_client_tls" }
310icons = { path = "crates/icons" }
311image_viewer = { path = "crates/image_viewer" }
312edit_prediction = { path = "crates/edit_prediction" }
313edit_prediction_button = { path = "crates/edit_prediction_button" }
314inspector_ui = { path = "crates/inspector_ui" }
315install_cli = { path = "crates/install_cli" }
316jj = { path = "crates/jj" }
317jj_ui = { path = "crates/jj_ui" }
318journal = { path = "crates/journal" }
319keymap_editor = { path = "crates/keymap_editor" }
320language = { path = "crates/language" }
321language_extension = { path = "crates/language_extension" }
322language_model = { path = "crates/language_model" }
323language_models = { path = "crates/language_models" }
324language_selector = { path = "crates/language_selector" }
325language_tools = { path = "crates/language_tools" }
326languages = { path = "crates/languages" }
327livekit_api = { path = "crates/livekit_api" }
328livekit_client = { path = "crates/livekit_client" }
329lmstudio = { path = "crates/lmstudio" }
330lsp = { path = "crates/lsp" }
331markdown = { path = "crates/markdown" }
332markdown_preview = { path = "crates/markdown_preview" }
333svg_preview = { path = "crates/svg_preview" }
334media = { path = "crates/media" }
335menu = { path = "crates/menu" }
336migrator = { path = "crates/migrator" }
337mistral = { path = "crates/mistral" }
338multi_buffer = { path = "crates/multi_buffer" }
339nc = { path = "crates/nc" }
340net = { path = "crates/net" }
341node_runtime = { path = "crates/node_runtime" }
342notifications = { path = "crates/notifications" }
343ollama = { path = "crates/ollama" }
344onboarding = { path = "crates/onboarding" }
345open_ai = { path = "crates/open_ai" }
346open_router = { path = "crates/open_router", features = ["schemars"] }
347outline = { path = "crates/outline" }
348outline_panel = { path = "crates/outline_panel" }
349panel = { path = "crates/panel" }
350paths = { path = "crates/paths" }
351picker = { path = "crates/picker" }
352plugin = { path = "crates/plugin" }
353plugin_macros = { path = "crates/plugin_macros" }
354prettier = { path = "crates/prettier" }
355settings_profile_selector = { path = "crates/settings_profile_selector" }
356project = { path = "crates/project" }
357project_panel = { path = "crates/project_panel" }
358project_symbols = { path = "crates/project_symbols" }
359prompt_store = { path = "crates/prompt_store" }
360proto = { path = "crates/proto" }
361recent_projects = { path = "crates/recent_projects" }
362refineable = { path = "crates/refineable" }
363release_channel = { path = "crates/release_channel" }
364scheduler = { path = "crates/scheduler" }
365remote = { path = "crates/remote" }
366remote_server = { path = "crates/remote_server" }
367repl = { path = "crates/repl" }
368reqwest_client = { path = "crates/reqwest_client" }
369rich_text = { path = "crates/rich_text" }
370rodio = { version = "0.21.1", default-features = false }
371rope = { path = "crates/rope" }
372rpc = { path = "crates/rpc" }
373rules_library = { path = "crates/rules_library" }
374search = { path = "crates/search" }
375semantic_index = { path = "crates/semantic_index" }
376semantic_version = { path = "crates/semantic_version" }
377session = { path = "crates/session" }
378settings = { path = "crates/settings" }
379settings_ui = { path = "crates/settings_ui" }
380settings_ui_macros = { path = "crates/settings_ui_macros" }
381snippet = { path = "crates/snippet" }
382snippet_provider = { path = "crates/snippet_provider" }
383snippets_ui = { path = "crates/snippets_ui" }
384sqlez = { path = "crates/sqlez" }
385sqlez_macros = { path = "crates/sqlez_macros" }
386story = { path = "crates/story" }
387storybook = { path = "crates/storybook" }
388streaming_diff = { path = "crates/streaming_diff" }
389sum_tree = { path = "crates/sum_tree" }
390supermaven = { path = "crates/supermaven" }
391supermaven_api = { path = "crates/supermaven_api" }
392system_specs = { path = "crates/system_specs" }
393tab_switcher = { path = "crates/tab_switcher" }
394task = { path = "crates/task" }
395tasks_ui = { path = "crates/tasks_ui" }
396telemetry = { path = "crates/telemetry" }
397telemetry_events = { path = "crates/telemetry_events" }
398terminal = { path = "crates/terminal" }
399terminal_view = { path = "crates/terminal_view" }
400text = { path = "crates/text" }
401theme = { path = "crates/theme" }
402theme_extension = { path = "crates/theme_extension" }
403theme_importer = { path = "crates/theme_importer" }
404theme_selector = { path = "crates/theme_selector" }
405time_format = { path = "crates/time_format" }
406title_bar = { path = "crates/title_bar" }
407toolchain_selector = { path = "crates/toolchain_selector" }
408ui = { path = "crates/ui" }
409ui_input = { path = "crates/ui_input" }
410ui_macros = { path = "crates/ui_macros" }
411ui_prompt = { path = "crates/ui_prompt" }
412util = { path = "crates/util" }
413util_macros = { path = "crates/util_macros" }
414vercel = { path = "crates/vercel" }
415vim = { path = "crates/vim" }
416vim_mode_setting = { path = "crates/vim_mode_setting" }
417
418watch = { path = "crates/watch" }
419web_search = { path = "crates/web_search" }
420web_search_providers = { path = "crates/web_search_providers" }
421workspace = { path = "crates/workspace" }
422worktree = { path = "crates/worktree" }
423x_ai = { path = "crates/x_ai" }
424zed = { path = "crates/zed" }
425zed_actions = { path = "crates/zed_actions" }
426zed_env_vars = { path = "crates/zed_env_vars" }
427zeta = { path = "crates/zeta" }
428zlog = { path = "crates/zlog" }
429zlog_settings = { path = "crates/zlog_settings" }
430
431#
432# External crates
433#
434
435agent-client-protocol = { version = "0.2.0-alpha.6", features = ["unstable"]}
436aho-corasick = "1.1"
437alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
438any_vec = "0.14"
439anyhow = "1.0.86"
440arrayvec = { version = "0.7.4", features = ["serde"] }
441ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
442async-compat = "0.2.1"
443async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
444async-dispatcher = "0.1"
445async-fs = "2.1"
446async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
447async-recursion = "1.0.0"
448async-tar = "0.5.0"
449async-task = "4.7"
450async-trait = "0.1"
451async-tungstenite = "0.29.1"
452async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
453aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
454aws-credential-types = { version = "1.2.2", features = [
455 "hardcoded-credentials",
456] }
457aws-sdk-bedrockruntime = { version = "1.80.0", features = [
458 "behavior-version-latest",
459] }
460aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
461aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
462base64 = "0.22"
463bincode = "1.2.1"
464bitflags = "2.6.0"
465blade-graphics = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
466blade-macros = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
467blade-util = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
468blake3 = "1.5.3"
469bytes = "1.0"
470cargo_metadata = "0.19"
471cargo_toml = "0.21"
472chrono = { version = "0.4", features = ["serde"] }
473ciborium = "0.2"
474circular-buffer = "1.0"
475clap = { version = "4.4", features = ["derive"] }
476cocoa = "0.26"
477cocoa-foundation = "0.2.0"
478convert_case = "0.8.0"
479core-foundation = "0.10.0"
480core-foundation-sys = "0.8.6"
481core-video = { version = "0.4.3", features = ["metal"] }
482cpal = "0.16"
483crash-handler = "0.6"
484criterion = { version = "0.5", features = ["html_reports"] }
485ctor = "0.4.0"
486dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
487dashmap = "6.0"
488derive_more = "0.99.17"
489dirs = "4.0"
490documented = "0.9.1"
491dotenvy = "0.15.0"
492ec4rs = "1.1"
493emojis = "0.6.1"
494env_logger = "0.11"
495exec = "0.3.1"
496fancy-regex = "0.14.0"
497fork = "0.2.0"
498futures = "0.3"
499futures-batch = "0.6.1"
500futures-lite = "1.13"
501git2 = { version = "0.20.1", default-features = false }
502globset = "0.4"
503handlebars = "4.3"
504heck = "0.5"
505heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
506hex = "0.4.3"
507human_bytes = "0.4.1"
508html5ever = "0.27.0"
509http = "1.1"
510http-body = "1.0"
511hyper = "0.14"
512ignore = "0.4.22"
513image = "0.25.1"
514imara-diff = "0.1.8"
515indexmap = { version = "2.7.0", features = ["serde"] }
516indoc = "2"
517inventory = "0.3.19"
518itertools = "0.14.0"
519jj-lib = { git = "https://github.com/jj-vcs/jj", rev = "e18eb8e05efaa153fad5ef46576af145bba1807f" }
520json_dotpath = "1.1"
521jsonschema = "0.30.0"
522jsonwebtoken = "9.3"
523jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
524jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
525libc = "0.2"
526libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
527linkify = "0.10.0"
528log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
529lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "0874f8742fe55b4dc94308c1e3c0069710d8eeaf" }
530mach2 = "0.5"
531markup5ever_rcdom = "0.3.0"
532metal = "0.29"
533minidumper = "0.8"
534moka = { version = "0.12.10", features = ["sync"] }
535naga = { version = "25.0", features = ["wgsl-in"] }
536nanoid = "0.4"
537nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
538nix = "0.29"
539num-format = "0.4.4"
540objc = "0.2"
541open = "5.0.0"
542ordered-float = "2.1.1"
543palette = { version = "0.7.5", default-features = false, features = ["std"] }
544parking = "2.0"
545parking_lot = "0.12.1"
546partial-json-fixer = "0.5.3"
547parse_int = "0.9"
548pciid-parser = "0.8.0"
549pathdiff = "0.2"
550pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
551pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
552pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
553pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
554pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
555pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
556pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
557portable-pty = "0.9.0"
558postage = { version = "0.5", features = ["futures-traits"] }
559pretty_assertions = { version = "1.3.0", features = ["unstable"] }
560proc-macro2 = "1.0.93"
561profiling = "1"
562prost = "0.9"
563prost-build = "0.9"
564prost-types = "0.9"
565pulldown-cmark = { version = "0.12.0", default-features = false }
566quote = "1.0.9"
567rand = "0.9"
568rayon = "1.8"
569ref-cast = "1.0.24"
570regex = "1.5"
571reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
572 "charset",
573 "http2",
574 "macos-system-configuration",
575 "multipart",
576 "rustls-tls-native-roots",
577 "socks",
578 "stream",
579] }
580rsa = "0.9.6"
581runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
582 "async-dispatcher-runtime",
583] }
584rust-embed = { version = "8.4", features = ["include-exclude"] }
585rustc-demangle = "0.1.23"
586rustc-hash = "2.1.0"
587rustls = { version = "0.23.26" }
588rustls-platform-verifier = "0.5.0"
589scap = { git = "https://github.com/zed-industries/scap", rev = "808aa5c45b41e8f44729d02e38fd00a2fe2722e7", default-features = false }
590schemars = { version = "1.0", features = ["indexmap2"] }
591semver = "1.0"
592serde = { version = "1.0", features = ["derive", "rc"] }
593serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
594serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
595serde_json_lenient = { version = "0.2", features = [
596 "preserve_order",
597 "raw_value",
598] }
599serde_path_to_error = "0.1.17"
600serde_repr = "0.1"
601serde_urlencoded = "0.7"
602sha2 = "0.10"
603shellexpand = "2.1.0"
604shlex = "1.3.0"
605simplelog = "0.12.2"
606smallvec = { version = "1.6", features = ["union"] }
607smol = "2.0"
608sqlformat = "0.2"
609stacksafe = "0.1"
610streaming-iterator = "0.1"
611strsim = "0.11"
612strum = { version = "0.27.0", features = ["derive"] }
613subtle = "2.5.0"
614syn = { version = "2.0.101", features = ["full", "extra-traits"] }
615sys-locale = "0.3.1"
616sysinfo = "0.31.0"
617take-until = "0.2.0"
618tempfile = "3.20.0"
619thiserror = "2.0.12"
620tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
621time = { version = "0.3", features = [
622 "macros",
623 "parsing",
624 "serde",
625 "serde-well-known",
626 "formatting",
627] }
628tiny_http = "0.8"
629tokio = { version = "1" }
630tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
631toml = "0.8"
632tower-http = "0.4.4"
633tree-sitter = { version = "0.25.6", features = ["wasm"] }
634tree-sitter-bash = "0.25.0"
635tree-sitter-c = "0.23"
636tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
637tree-sitter-css = "0.23"
638tree-sitter-diff = "0.1.0"
639tree-sitter-elixir = "0.3"
640tree-sitter-embedded-template = "0.23.0"
641tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
642tree-sitter-go = "0.23"
643tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
644tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
645tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
646tree-sitter-html = "0.23"
647tree-sitter-jsdoc = "0.23"
648tree-sitter-json = "0.24"
649tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
650tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
651tree-sitter-regex = "0.24"
652tree-sitter-ruby = "0.23"
653tree-sitter-rust = "0.24"
654tree-sitter-typescript = "0.23"
655tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
656unicase = "2.6"
657unicode-script = "0.5.7"
658unicode-segmentation = "1.10"
659unindent = "0.2.0"
660url = "2.2"
661urlencoding = "2.1.2"
662uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
663walkdir = "2.5"
664wasm-encoder = "0.221"
665wasmparser = "0.221"
666wasmtime = { version = "29", default-features = false, features = [
667 "async",
668 "demangle",
669 "runtime",
670 "cranelift",
671 "component-model",
672 "incremental-cache",
673 "parallel-compilation",
674] }
675wasmtime-wasi = "29"
676which = "6.0.0"
677windows-core = "0.61"
678wit-component = "0.221"
679workspace-hack = "0.1.0"
680yawc = "0.2.5"
681zstd = "0.11"
682
683[workspace.dependencies.windows]
684version = "0.61"
685features = [
686 "Foundation_Numerics",
687 "Storage_Search",
688 "Storage_Streams",
689 "System_Threading",
690 "UI_ViewManagement",
691 "Wdk_System_SystemServices",
692 "Win32_Globalization",
693 "Win32_Graphics_Direct3D",
694 "Win32_Graphics_Direct3D11",
695 "Win32_Graphics_Direct3D_Fxc",
696 "Win32_Graphics_DirectComposition",
697 "Win32_Graphics_DirectWrite",
698 "Win32_Graphics_Dwm",
699 "Win32_Graphics_Dxgi",
700 "Win32_Graphics_Dxgi_Common",
701 "Win32_Graphics_Gdi",
702 "Win32_Graphics_Imaging",
703 "Win32_Graphics_Hlsl",
704 "Win32_Networking_WinSock",
705 "Win32_Security",
706 "Win32_Security_Credentials",
707 "Win32_Storage_FileSystem",
708 "Win32_System_Com",
709 "Win32_System_Com_StructuredStorage",
710 "Win32_System_Console",
711 "Win32_System_DataExchange",
712 "Win32_System_IO",
713 "Win32_System_LibraryLoader",
714 "Win32_System_Memory",
715 "Win32_System_Ole",
716 "Win32_System_Performance",
717 "Win32_System_Pipes",
718 "Win32_System_SystemInformation",
719 "Win32_System_SystemServices",
720 "Win32_System_Threading",
721 "Win32_System_Variant",
722 "Win32_System_WinRT",
723 "Win32_UI_Controls",
724 "Win32_UI_HiDpi",
725 "Win32_UI_Input_Ime",
726 "Win32_UI_Input_KeyboardAndMouse",
727 "Win32_UI_Shell",
728 "Win32_UI_Shell_Common",
729 "Win32_UI_Shell_PropertiesSystem",
730 "Win32_UI_WindowsAndMessaging",
731]
732
733[patch.crates-io]
734notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
735notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
736windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
737
738# Makes the workspace hack crate refer to the local one, but only when you're building locally
739workspace-hack = { path = "tooling/workspace-hack" }
740
741[profile.dev]
742split-debuginfo = "unpacked"
743codegen-units = 16
744
745# mirror configuration for crates compiled for the build platform
746# (without this cargo will compile ~400 crates twice)
747[profile.dev.build-override]
748codegen-units = 16
749
750[profile.dev.package]
751taffy = { opt-level = 3 }
752cranelift-codegen = { opt-level = 3 }
753cranelift-codegen-meta = { opt-level = 3 }
754cranelift-codegen-shared = { opt-level = 3 }
755resvg = { opt-level = 3 }
756rustybuzz = { opt-level = 3 }
757ttf-parser = { opt-level = 3 }
758wasmtime-cranelift = { opt-level = 3 }
759wasmtime = { opt-level = 3 }
760# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
761activity_indicator = { codegen-units = 1 }
762assets = { codegen-units = 1 }
763breadcrumbs = { codegen-units = 1 }
764collections = { codegen-units = 1 }
765command_palette = { codegen-units = 1 }
766command_palette_hooks = { codegen-units = 1 }
767extension_cli = { codegen-units = 1 }
768feature_flags = { codegen-units = 1 }
769file_icons = { codegen-units = 1 }
770fsevent = { codegen-units = 1 }
771image_viewer = { codegen-units = 1 }
772edit_prediction_button = { codegen-units = 1 }
773install_cli = { codegen-units = 1 }
774journal = { codegen-units = 1 }
775lmstudio = { codegen-units = 1 }
776menu = { codegen-units = 1 }
777notifications = { codegen-units = 1 }
778ollama = { codegen-units = 1 }
779outline = { codegen-units = 1 }
780paths = { codegen-units = 1 }
781prettier = { codegen-units = 1 }
782project_symbols = { codegen-units = 1 }
783refineable = { codegen-units = 1 }
784release_channel = { codegen-units = 1 }
785reqwest_client = { codegen-units = 1 }
786rich_text = { codegen-units = 1 }
787semantic_version = { codegen-units = 1 }
788session = { codegen-units = 1 }
789snippet = { codegen-units = 1 }
790snippets_ui = { codegen-units = 1 }
791sqlez_macros = { codegen-units = 1 }
792story = { codegen-units = 1 }
793supermaven_api = { codegen-units = 1 }
794telemetry_events = { codegen-units = 1 }
795theme_selector = { codegen-units = 1 }
796time_format = { codegen-units = 1 }
797ui_input = { codegen-units = 1 }
798zed_actions = { codegen-units = 1 }
799
800[profile.release]
801debug = "limited"
802lto = "thin"
803codegen-units = 1
804
805[profile.release.package]
806zed = { codegen-units = 16 }
807
808[profile.release-fast]
809inherits = "release"
810debug = "full"
811lto = false
812codegen-units = 16
813
814[workspace.lints.rust]
815unexpected_cfgs = { level = "allow" }
816
817[workspace.lints.clippy]
818dbg_macro = "deny"
819todo = "deny"
820
821# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
822# Remove when the lint gets promoted to `suspicious`.
823declare_interior_mutable_const = "deny"
824
825redundant_clone = "deny"
826
827# We currently do not restrict any style rules
828# as it slows down shipping code to Zed.
829#
830# Running ./script/clippy can take several minutes, and so it's
831# common to skip that step and let CI do it. Any unexpected failures
832# (which also take minutes to discover) thus require switching back
833# to an old branch, manual fixing, and re-pushing.
834#
835# In the future we could improve this by either making sure
836# Zed can surface clippy errors in diagnostics (in addition to the
837# rust-analyzer errors), or by having CI fix style nits automatically.
838style = { level = "allow", priority = -1 }
839
840# Individual rules that have violations in the codebase:
841type_complexity = "allow"
842let_underscore_future = "allow"
843
844# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
845# warning on this rule produces a lot of noise.
846single_range_in_vec_init = "allow"
847
848# in Rust it can be very tedious to reduce argument count without
849# running afoul of the borrow checker.
850too_many_arguments = "allow"
851
852# We often have large enum variants yet we rarely actually bother with splitting them up.
853large_enum_variant = "allow"
854
855# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
856nonminimal_bool = "allow"
857
858[workspace.metadata.cargo-machete]
859ignored = [
860 "bindgen",
861 "cbindgen",
862 "prost_build",
863 "serde",
864 "component",
865 "documented",
866 "workspace-hack",
867]