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