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