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