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/rich_text",
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" }
385open_ai = { path = "crates/open_ai" }
386open_path_prompt = { path = "crates/open_path_prompt" }
387open_router = { path = "crates/open_router", features = ["schemars"] }
388outline = { path = "crates/outline" }
389outline_panel = { path = "crates/outline_panel" }
390panel = { path = "crates/panel" }
391paths = { path = "crates/paths" }
392perf = { path = "tooling/perf" }
393picker = { path = "crates/picker" }
394prettier = { path = "crates/prettier" }
395settings_profile_selector = { path = "crates/settings_profile_selector" }
396project = { path = "crates/project" }
397project_panel = { path = "crates/project_panel" }
398project_symbols = { path = "crates/project_symbols" }
399prompt_store = { path = "crates/prompt_store" }
400proto = { path = "crates/proto" }
401recent_projects = { path = "crates/recent_projects" }
402refineable = { path = "crates/refineable" }
403release_channel = { path = "crates/release_channel" }
404remote = { path = "crates/remote" }
405remote_connection = { path = "crates/remote_connection" }
406remote_server = { path = "crates/remote_server" }
407repl = { path = "crates/repl" }
408reqwest_client = { path = "crates/reqwest_client" }
409rodio = { git = "https://github.com/RustAudio/rodio", rev = "e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a", features = ["wav", "playback", "wav_output", "recording"] }
410rope = { path = "crates/rope" }
411rpc = { path = "crates/rpc" }
412rules_library = { path = "crates/rules_library" }
413scheduler = { path = "crates/scheduler" }
414search = { path = "crates/search" }
415session = { path = "crates/session" }
416sidebar = { path = "crates/sidebar" }
417settings = { path = "crates/settings" }
418settings_content = { path = "crates/settings_content" }
419settings_json = { path = "crates/settings_json" }
420settings_macros = { path = "crates/settings_macros" }
421settings_ui = { path = "crates/settings_ui" }
422shell_command_parser = { path = "crates/shell_command_parser" }
423snippet = { path = "crates/snippet" }
424snippet_provider = { path = "crates/snippet_provider" }
425snippets_ui = { path = "crates/snippets_ui" }
426sqlez = { path = "crates/sqlez" }
427sqlez_macros = { path = "crates/sqlez_macros" }
428story = { path = "crates/story" }
429streaming_diff = { path = "crates/streaming_diff" }
430sum_tree = { path = "crates/sum_tree" }
431codestral = { path = "crates/codestral" }
432system_specs = { path = "crates/system_specs" }
433tab_switcher = { path = "crates/tab_switcher" }
434task = { path = "crates/task" }
435tasks_ui = { path = "crates/tasks_ui" }
436telemetry = { path = "crates/telemetry" }
437telemetry_events = { path = "crates/telemetry_events" }
438terminal = { path = "crates/terminal" }
439terminal_view = { path = "crates/terminal_view" }
440text = { path = "crates/text" }
441theme = { path = "crates/theme" }
442theme_extension = { path = "crates/theme_extension" }
443theme_selector = { path = "crates/theme_selector" }
444time_format = { path = "crates/time_format" }
445platform_title_bar = { path = "crates/platform_title_bar" }
446title_bar = { path = "crates/title_bar" }
447toolchain_selector = { path = "crates/toolchain_selector" }
448ui = { path = "crates/ui" }
449ui_input = { path = "crates/ui_input" }
450ui_macros = { path = "crates/ui_macros" }
451ui_prompt = { path = "crates/ui_prompt" }
452util = { path = "crates/util" }
453util_macros = { path = "crates/util_macros" }
454vercel = { path = "crates/vercel" }
455vim = { path = "crates/vim" }
456vim_mode_setting = { path = "crates/vim_mode_setting" }
457which_key = { path = "crates/which_key" }
458
459watch = { path = "crates/watch" }
460web_search = { path = "crates/web_search" }
461web_search_providers = { path = "crates/web_search_providers" }
462workspace = { path = "crates/workspace" }
463worktree = { path = "crates/worktree" }
464x_ai = { path = "crates/x_ai" }
465zed = { path = "crates/zed" }
466zed_actions = { path = "crates/zed_actions" }
467zed_env_vars = { path = "crates/zed_env_vars" }
468edit_prediction = { path = "crates/edit_prediction" }
469zeta_prompt = { path = "crates/zeta_prompt" }
470zlog = { path = "crates/zlog" }
471zlog_settings = { path = "crates/zlog_settings" }
472ztracing = { path = "crates/ztracing" }
473ztracing_macro = { path = "crates/ztracing_macro" }
474
475#
476# External crates
477#
478
479agent-client-protocol = { version = "=0.9.4", features = ["unstable"] }
480aho-corasick = "1.1"
481alacritty_terminal = { git = "https://github.com/zed-industries/alacritty", rev = "9d9640d4" }
482any_vec = "0.14"
483anyhow = "1.0.86"
484arrayvec = { version = "0.7.4", features = ["serde"] }
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 = ["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"
517bincode = "1.2.1"
518bitflags = "2.6.0"
519brotli = "8.0.2"
520bytes = "1.0"
521cargo_metadata = "0.19"
522cargo_toml = "0.21"
523brush-parser = "0.3"
524cfg-if = "1.0.3"
525chardetng = "0.1"
526chrono = { version = "0.4", features = ["serde"] }
527ciborium = "0.2"
528circular-buffer = "1.0"
529clap = { version = "4.4", features = ["derive", "wrap_help"] }
530cocoa = "=0.26.0"
531cocoa-foundation = "=0.2.0"
532convert_case = "0.8.0"
533core-foundation = "=0.10.0"
534core-foundation-sys = "0.8.6"
535core-video = { version = "0.5.2", features = ["metal"] }
536cpal = "0.17"
537crash-handler = "0.6"
538criterion = { version = "0.5", features = ["html_reports"] }
539ctor = "0.4.0"
540dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
541dashmap = "6.0"
542derive_more = { version = "2.1.1", features = [
543 "add",
544 "add_assign",
545 "deref",
546 "deref_mut",
547 "from_str",
548 "mul",
549 "mul_assign",
550 "not",
551] }
552dirs = "4.0"
553documented = "0.9.1"
554dotenvy = "0.15.0"
555ec4rs = "1.1"
556emojis = "0.6.1"
557env_logger = "0.11"
558encoding_rs = "0.8"
559exec = "0.3.1"
560fancy-regex = "0.16.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 = "c9eac0ed361583e1072860d96776fa52775b82ac" }
566git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
567globset = "0.4"
568handlebars = "4.3"
569heck = "0.5"
570heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
571hex = "0.4.3"
572human_bytes = "0.4.1"
573html5ever = "0.27.0"
574http = "1.1"
575http-body = "1.0"
576hyper = "0.14"
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 = "28.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.1", 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 = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
642pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
643pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
644pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
645pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
646pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
647pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
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_repr = "0.1"
695serde_urlencoded = "0.7"
696sha2 = "0.10"
697shellexpand = "2.1.0"
698shlex = "1.3.0"
699simplelog = "0.12.2"
700slotmap = "1.0.6"
701smallvec = { version = "1.6", features = ["union", "const_new"] }
702smol = "2.0"
703sqlformat = "0.2"
704stacksafe = "0.1"
705streaming-iterator = "0.1"
706strsim = "0.11"
707strum = { version = "0.27.2", features = ["derive"] }
708syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
709sys-locale = "0.3.1"
710sysinfo = "0.37.0"
711take-until = "0.2.0"
712tempfile = "3.20.0"
713thiserror = "2.0.12"
714tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "2570c4387a8505fb8f1d3f3557454b474f1e8271" }
715time = { version = "0.3", features = [
716 "macros",
717 "parsing",
718 "serde",
719 "serde-well-known",
720 "formatting",
721 "local-offset",
722] }
723tiny_http = "0.8"
724tokio = { version = "1" }
725tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
726tokio-socks = { version = "0.5.2", default-features = false, features = [
727 "futures-io",
728 "tokio",
729] }
730toml = "0.8"
731toml_edit = { version = "0.22", default-features = false, features = [
732 "display",
733 "parse",
734 "serde",
735] }
736tower-http = "0.4.4"
737tree-sitter = { version = "0.26", features = ["wasm"] }
738tree-sitter-bash = "0.25.1"
739tree-sitter-c = "0.24.1"
740tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
741tree-sitter-css = "0.23"
742tree-sitter-diff = "0.1.0"
743tree-sitter-elixir = "0.3"
744tree-sitter-embedded-template = "0.23.0"
745tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
746tree-sitter-go = "0.25"
747tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
748tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
749tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
750tree-sitter-html = "0.23"
751tree-sitter-jsdoc = "0.23"
752tree-sitter-json = "0.24"
753tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
754tree-sitter-python = "0.25"
755tree-sitter-regex = "0.24"
756tree-sitter-ruby = "0.23"
757tree-sitter-rust = "0.24"
758tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
759tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
760tracing = "0.1.40"
761unicase = "2.6"
762unicode-script = "0.5.7"
763unicode-segmentation = "1.10"
764unicode-width = "0.2"
765unindent = "0.2.0"
766url = "2.2"
767urlencoding = "2.1.2"
768uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
769walkdir = "2.5"
770wasm-encoder = "0.221"
771wasmparser = "0.221"
772wasmtime = { version = "33", default-features = false, features = [
773 "async",
774 "demangle",
775 "runtime",
776 "cranelift",
777 "component-model",
778 "incremental-cache",
779 "parallel-compilation",
780] }
781wasmtime-wasi = "33"
782wax = "0.7"
783which = "6.0.0"
784wasm-bindgen = "0.2.113"
785web-time = "1.1.0"
786wgpu = { git = "https://github.com/zed-industries/wgpu", rev = "465557eccfe77c840a9b4936f1408da9503372c4" }
787windows-core = "0.61"
788yawc = "0.2.5"
789zeroize = "1.8"
790zstd = "0.11"
791
792
793[workspace.dependencies.windows]
794version = "0.61"
795features = [
796 "Foundation_Numerics",
797 "Globalization_DateTimeFormatting",
798 "Storage_Search",
799 "Storage_Streams",
800 "System_Threading",
801 "UI_ViewManagement",
802 "Wdk_System_SystemServices",
803 "Win32_Foundation",
804 "Win32_Globalization",
805 "Win32_Graphics_Direct3D",
806 "Win32_Graphics_Direct3D11",
807 "Win32_Graphics_Direct3D_Fxc",
808 "Win32_Graphics_DirectComposition",
809 "Win32_Graphics_DirectWrite",
810 "Win32_Graphics_Dwm",
811 "Win32_Graphics_Dxgi",
812 "Win32_Graphics_Dxgi_Common",
813 "Win32_Graphics_Gdi",
814 "Win32_Graphics_Imaging",
815 "Win32_Graphics_Hlsl",
816 "Win32_Networking_WinSock",
817 "Win32_Security",
818 "Win32_Security_Credentials",
819 "Win32_Security_Cryptography",
820 "Win32_Storage_FileSystem",
821 "Win32_System_Com",
822 "Win32_System_Com_StructuredStorage",
823 "Win32_System_Console",
824 "Win32_System_DataExchange",
825 "Win32_System_IO",
826 "Win32_System_LibraryLoader",
827 "Win32_System_Memory",
828 "Win32_System_Ole",
829 "Win32_System_Performance",
830 "Win32_System_Pipes",
831 "Win32_System_RestartManager",
832 "Win32_System_SystemInformation",
833 "Win32_System_SystemServices",
834 "Win32_System_Threading",
835 "Win32_System_Variant",
836 "Win32_System_WinRT",
837 "Win32_UI_Controls",
838 "Win32_UI_HiDpi",
839 "Win32_UI_Input_Ime",
840 "Win32_UI_Input_KeyboardAndMouse",
841 "Win32_UI_Shell",
842 "Win32_UI_Shell_Common",
843 "Win32_UI_Shell_PropertiesSystem",
844 "Win32_UI_WindowsAndMessaging",
845 "Win32_Media",
846]
847
848[patch.crates-io]
849async-task = { git = "https://github.com/smol-rs/async-task.git", rev = "b4486cd71e4e94fbda54ce6302444de14f4d190e" }
850notify = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
851notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
852windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
853calloop = { git = "https://github.com/zed-industries/calloop" }
854livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
855libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
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]