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