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