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