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