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