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"
514bitflags = "2.6.0"
515brotli = "8.0.2"
516bytes = "1.0"
517cargo_metadata = "0.19"
518cargo_toml = "0.21"
519brush-parser = "0.3"
520cfg-if = "1.0.3"
521chardetng = "0.1"
522chrono = { version = "0.4", features = ["serde"] }
523ciborium = "0.2"
524circular-buffer = "1.0"
525clap = { version = "4.4", features = ["derive", "wrap_help"] }
526cocoa = "=0.26.0"
527cocoa-foundation = "=0.2.0"
528convert_case = "0.8.0"
529core-foundation = "=0.10.0"
530core-foundation-sys = "0.8.6"
531core-video = { version = "0.5.2", features = ["metal"] }
532cpal = "0.17"
533crash-handler = "0.6"
534criterion = { version = "0.5", features = ["html_reports"] }
535ctor = "0.4.0"
536dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
537dashmap = "6.0"
538derive_more = { version = "2.1.1", features = [
539 "add",
540 "add_assign",
541 "deref",
542 "deref_mut",
543 "from_str",
544 "mul",
545 "mul_assign",
546 "not",
547] }
548dirs = "4.0"
549documented = "0.9.1"
550dotenvy = "0.15.0"
551ec4rs = "1.1"
552emojis = "0.6.1"
553env_logger = "0.11"
554encoding_rs = "0.8"
555exec = "0.3.1"
556fancy-regex = "0.16.0"
557fork = "0.4.0"
558futures = "0.3"
559futures-concurrency = "7.7.1"
560futures-lite = "1.13"
561gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "c9eac0ed361583e1072860d96776fa52775b82ac" }
562git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
563globset = "0.4"
564handlebars = "4.3"
565heck = "0.5"
566heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
567hex = "0.4.3"
568human_bytes = "0.4.1"
569html5ever = "0.27.0"
570http = "1.1"
571http-body = "1.0"
572ignore = "0.4.22"
573image = "0.25.1"
574imara-diff = "0.1.8"
575indexmap = { version = "2.7.0", features = ["serde"] }
576indoc = "2"
577inventory = "0.3.19"
578itertools = "0.14.0"
579json_dotpath = "1.1"
580jsonschema = "0.37.0"
581jsonwebtoken = "10.0"
582jupyter-protocol = "1.4.0"
583jupyter-websocket-client = "1.0.0"
584libc = "0.2"
585libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
586linkify = "0.10.0"
587libwebrtc = "0.3.26"
588livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] }
589log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
590lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "a4f410987660bf560d1e617cb78117c6b6b9f599" }
591mach2 = "0.5"
592markup5ever_rcdom = "0.3.0"
593metal = "0.33"
594minidumper = "0.9"
595moka = { version = "0.12.10", features = ["sync"] }
596naga = { version = "28.0", features = ["wgsl-in"] }
597nanoid = "0.4"
598nbformat = "1.2.0"
599nix = "0.29"
600num-format = "0.4.4"
601objc = "0.2"
602objc2-foundation = { version = "=0.3.1", default-features = false, features = [
603 "NSArray",
604 "NSAttributedString",
605 "NSBundle",
606 "NSCoder",
607 "NSData",
608 "NSDate",
609 "NSDictionary",
610 "NSEnumerator",
611 "NSError",
612 "NSGeometry",
613 "NSNotification",
614 "NSNull",
615 "NSObjCRuntime",
616 "NSObject",
617 "NSProcessInfo",
618 "NSRange",
619 "NSRunLoop",
620 "NSString",
621 "NSURL",
622 "NSUndoManager",
623 "NSValue",
624 "objc2-core-foundation",
625 "std",
626] }
627open = "5.0.0"
628ordered-float = "2.1.1"
629palette = { version = "0.7.5", default-features = false, features = ["std"] }
630parking_lot = "0.12.1"
631partial-json-fixer = "0.5.3"
632parse_int = "0.9"
633pciid-parser = "0.8.0"
634pathdiff = "0.2"
635percent-encoding = "2.3.2"
636pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
637pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
638pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
639pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
640pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
641pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
642pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
643portable-pty = "0.9.0"
644postage = { version = "0.5", features = ["futures-traits"] }
645pretty_assertions = { version = "1.3.0", features = ["unstable"] }
646proc-macro2 = "1.0.93"
647profiling = "1"
648# replace this with main when #635 is merged
649proptest = { git = "https://github.com/proptest-rs/proptest", rev = "3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b", features = ["attr-macro"] }
650proptest-derive = "0.8.0"
651prost = "0.9"
652prost-build = "0.9"
653prost-types = "0.9"
654pollster = "0.4.0"
655pulldown-cmark = { version = "0.13.0", default-features = false }
656quote = "1.0.9"
657rand = "0.9"
658rayon = "1.8"
659regex = "1.5"
660# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
661reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
662 "charset",
663 "http2",
664 "macos-system-configuration",
665 "multipart",
666 "rustls-tls-native-roots",
667 "socks",
668 "stream",
669], package = "zed-reqwest", version = "0.12.15-zed" }
670rsa = "0.9.6"
671runtimelib = { version = "1.4.0", default-features = false, features = [
672 "async-dispatcher-runtime", "aws-lc-rs"
673] }
674rust-embed = { version = "8.4", features = ["include-exclude"] }
675rustc-hash = "2.1.0"
676rustls = { version = "0.23.26" }
677rustls-platform-verifier = "0.5.0"
678# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
679scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
680schemars = { version = "1.0", features = ["indexmap2"] }
681semver = { version = "1.0", features = ["serde"] }
682serde = { version = "1.0.221", features = ["derive", "rc"] }
683serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
684serde_json_lenient = { version = "0.2", features = [
685 "preserve_order",
686 "raw_value",
687] }
688serde_path_to_error = "0.1.17"
689serde_urlencoded = "0.7"
690sha2 = "0.10"
691shellexpand = "2.1.0"
692shlex = "1.3.0"
693simplelog = "0.12.2"
694slotmap = "1.0.6"
695smallvec = { version = "1.6", features = ["union", "const_new"] }
696smol = "2.0"
697sqlformat = "0.2"
698stacksafe = "0.1"
699streaming-iterator = "0.1"
700strsim = "0.11"
701strum = { version = "0.27.2", features = ["derive"] }
702syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
703sys-locale = "0.3.1"
704sysinfo = "0.37.0"
705take-until = "0.2.0"
706tempfile = "3.20.0"
707thiserror = "2.0.12"
708tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "2570c4387a8505fb8f1d3f3557454b474f1e8271" }
709time = { version = "0.3", features = [
710 "macros",
711 "parsing",
712 "serde",
713 "serde-well-known",
714 "formatting",
715 "local-offset",
716] }
717tiny_http = "0.8"
718tokio = { version = "1" }
719tokio-socks = { version = "0.5.2", default-features = false, features = [
720 "futures-io",
721 "tokio",
722] }
723toml = "0.8"
724toml_edit = { version = "0.22", default-features = false, features = [
725 "display",
726 "parse",
727 "serde",
728] }
729tower-http = "0.4.4"
730tree-sitter = { version = "0.26", features = ["wasm"] }
731tree-sitter-bash = "0.25.1"
732tree-sitter-c = "0.24.1"
733tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
734tree-sitter-css = "0.23"
735tree-sitter-diff = "0.1.0"
736tree-sitter-elixir = "0.3"
737tree-sitter-embedded-template = "0.23.0"
738tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
739tree-sitter-go = "0.25"
740tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
741tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
742tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
743tree-sitter-html = "0.23"
744tree-sitter-jsdoc = "0.23"
745tree-sitter-json = "0.24"
746tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
747tree-sitter-python = "0.25"
748tree-sitter-regex = "0.24"
749tree-sitter-ruby = "0.23"
750tree-sitter-rust = "0.24"
751tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
752tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
753tracing = "0.1.40"
754unicase = "2.6"
755unicode-script = "0.5.7"
756unicode-segmentation = "1.10"
757unicode-width = "0.2"
758unindent = "0.2.0"
759url = "2.2"
760urlencoding = "2.1.2"
761uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
762walkdir = "2.5"
763wasm-encoder = "0.221"
764wasmparser = "0.221"
765wasmtime = { version = "33", default-features = false, features = [
766 "async",
767 "demangle",
768 "runtime",
769 "cranelift",
770 "component-model",
771 "incremental-cache",
772 "parallel-compilation",
773] }
774wasmtime-wasi = "33"
775wax = "0.7"
776which = "6.0.0"
777wasm-bindgen = "0.2.113"
778web-time = "1.1.0"
779wgpu = { git = "https://github.com/zed-industries/wgpu", rev = "465557eccfe77c840a9b4936f1408da9503372c4" }
780windows-core = "0.61"
781yawc = "0.2.5"
782zeroize = "1.8"
783zstd = "0.11"
784
785
786[workspace.dependencies.windows]
787version = "0.61"
788features = [
789 "Foundation_Numerics",
790 "Globalization_DateTimeFormatting",
791 "Storage_Search",
792 "Storage_Streams",
793 "System_Threading",
794 "UI_ViewManagement",
795 "Wdk_System_SystemServices",
796 "Win32_Foundation",
797 "Win32_Globalization",
798 "Win32_Graphics_Direct3D",
799 "Win32_Graphics_Direct3D11",
800 "Win32_Graphics_Direct3D_Fxc",
801 "Win32_Graphics_DirectComposition",
802 "Win32_Graphics_DirectWrite",
803 "Win32_Graphics_Dwm",
804 "Win32_Graphics_Dxgi",
805 "Win32_Graphics_Dxgi_Common",
806 "Win32_Graphics_Gdi",
807 "Win32_Graphics_Imaging",
808 "Win32_Graphics_Hlsl",
809 "Win32_Networking_WinSock",
810 "Win32_Security",
811 "Win32_Security_Credentials",
812 "Win32_Security_Cryptography",
813 "Win32_Storage_FileSystem",
814 "Win32_System_Com",
815 "Win32_System_Com_StructuredStorage",
816 "Win32_System_Console",
817 "Win32_System_DataExchange",
818 "Win32_System_IO",
819 "Win32_System_LibraryLoader",
820 "Win32_System_Memory",
821 "Win32_System_Ole",
822 "Win32_System_Performance",
823 "Win32_System_Pipes",
824 "Win32_System_RestartManager",
825 "Win32_System_SystemInformation",
826 "Win32_System_SystemServices",
827 "Win32_System_Threading",
828 "Win32_System_Variant",
829 "Win32_System_WinRT",
830 "Win32_UI_Controls",
831 "Win32_UI_HiDpi",
832 "Win32_UI_Input_Ime",
833 "Win32_UI_Input_KeyboardAndMouse",
834 "Win32_UI_Shell",
835 "Win32_UI_Shell_Common",
836 "Win32_UI_Shell_PropertiesSystem",
837 "Win32_UI_WindowsAndMessaging",
838 "Win32_Media",
839]
840
841[patch.crates-io]
842async-task = { git = "https://github.com/smol-rs/async-task.git", rev = "b4486cd71e4e94fbda54ce6302444de14f4d190e" }
843notify = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
844notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
845windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
846calloop = { git = "https://github.com/zed-industries/calloop" }
847livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
848libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
849
850[profile.dev]
851split-debuginfo = "unpacked"
852incremental = true
853codegen-units = 16
854
855# mirror configuration for crates compiled for the build platform
856# (without this cargo will compile ~400 crates twice)
857[profile.dev.build-override]
858codegen-units = 16
859split-debuginfo = "unpacked"
860debug = true
861
862[profile.dev.package]
863# proc-macros start
864gpui_macros = { opt-level = 3 }
865derive_refineable = { opt-level = 3 }
866settings_macros = { opt-level = 3 }
867sqlez_macros = { opt-level = 3, codegen-units = 1 }
868ui_macros = { opt-level = 3 }
869util_macros = { opt-level = 3 }
870quote = { opt-level = 3 }
871syn = { opt-level = 3 }
872proc-macro2 = { opt-level = 3 }
873# proc-macros end
874
875taffy = { opt-level = 3 }
876resvg = { opt-level = 3 }
877wasmtime = { opt-level = 3 }
878# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
879activity_indicator = { codegen-units = 1 }
880assets = { codegen-units = 1 }
881breadcrumbs = { codegen-units = 1 }
882collections = { codegen-units = 1 }
883command_palette = { codegen-units = 1 }
884command_palette_hooks = { codegen-units = 1 }
885feature_flags = { codegen-units = 1 }
886file_icons = { codegen-units = 1 }
887image_viewer = { codegen-units = 1 }
888edit_prediction_ui = { codegen-units = 1 }
889install_cli = { codegen-units = 1 }
890journal = { codegen-units = 1 }
891json_schema_store = { codegen-units = 1 }
892lmstudio = { codegen-units = 1 }
893menu = { codegen-units = 1 }
894notifications = { codegen-units = 1 }
895ollama = { codegen-units = 1 }
896outline = { codegen-units = 1 }
897paths = { codegen-units = 1 }
898prettier = { codegen-units = 1 }
899project_symbols = { codegen-units = 1 }
900refineable = { codegen-units = 1 }
901release_channel = { codegen-units = 1 }
902reqwest_client = { codegen-units = 1 }
903session = { codegen-units = 1 }
904snippet = { codegen-units = 1 }
905snippets_ui = { codegen-units = 1 }
906story = { codegen-units = 1 }
907telemetry_events = { codegen-units = 1 }
908theme_selector = { codegen-units = 1 }
909time_format = { codegen-units = 1 }
910ui_input = { codegen-units = 1 }
911zed_actions = { codegen-units = 1 }
912
913[profile.release]
914debug = "limited"
915lto = "thin"
916codegen-units = 1
917
918[profile.release.package]
919zed = { codegen-units = 16 }
920
921[profile.release-fast]
922inherits = "release"
923debug = "full"
924lto = false
925codegen-units = 16
926
927[workspace.lints.rust]
928unexpected_cfgs = { level = "allow" }
929
930[workspace.lints.clippy]
931dbg_macro = "deny"
932todo = "deny"
933
934declare_interior_mutable_const = "deny"
935
936redundant_clone = "deny"
937disallowed_methods = "deny"
938
939# We currently do not restrict any style rules
940# as it slows down shipping code to Zed.
941#
942# Running ./script/clippy can take several minutes, and so it's
943# common to skip that step and let CI do it. Any unexpected failures
944# (which also take minutes to discover) thus require switching back
945# to an old branch, manual fixing, and re-pushing.
946#
947# In the future we could improve this by either making sure
948# Zed can surface clippy errors in diagnostics (in addition to the
949# rust-analyzer errors), or by having CI fix style nits automatically.
950style = { level = "allow", priority = -1 }
951
952# Individual rules that have violations in the codebase:
953type_complexity = "allow"
954let_underscore_future = "allow"
955
956# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
957# warning on this rule produces a lot of noise.
958single_range_in_vec_init = "allow"
959
960# in Rust it can be very tedious to reduce argument count without
961# running afoul of the borrow checker.
962too_many_arguments = "allow"
963
964# We often have large enum variants yet we rarely actually bother with splitting them up.
965large_enum_variant = "allow"
966
967# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
968nonminimal_bool = "allow"
969
970[workspace.metadata.cargo-machete]
971ignored = [
972 "bindgen",
973 "cbindgen",
974 "prost_build",
975 "serde",
976 "component",
977 "documented",
978 "sea-orm-macros",
979]