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