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