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