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