1[workspace]
2resolver = "2"
3members = [
4 "crates/activity_indicator",
5 "crates/agent_ui",
6 "crates/agent",
7 "crates/agent_settings",
8 "crates/anthropic",
9 "crates/askpass",
10 "crates/assets",
11 "crates/assistant_context",
12 "crates/assistant_slash_command",
13 "crates/assistant_slash_commands",
14 "crates/assistant_tool",
15 "crates/assistant_tools",
16 "crates/audio",
17 "crates/auto_update",
18 "crates/auto_update_helper",
19 "crates/auto_update_ui",
20 "crates/aws_http_client",
21 "crates/bedrock",
22 "crates/breadcrumbs",
23 "crates/buffer_diff",
24 "crates/call",
25 "crates/channel",
26 "crates/cli",
27 "crates/client",
28 "crates/clock",
29 "crates/collab",
30 "crates/collab_ui",
31 "crates/collections",
32 "crates/command_palette",
33 "crates/command_palette_hooks",
34 "crates/component",
35 "crates/context_server",
36 "crates/copilot",
37 "crates/credentials_provider",
38 "crates/dap",
39 "crates/dap_adapters",
40 "crates/db",
41 "crates/debug_adapter_extension",
42 "crates/debugger_tools",
43 "crates/debugger_ui",
44 "crates/deepseek",
45 "crates/diagnostics",
46 "crates/docs_preprocessor",
47 "crates/editor",
48 "crates/explorer_command_injector",
49 "crates/eval",
50 "crates/extension",
51 "crates/extension_api",
52 "crates/extension_cli",
53 "crates/extension_host",
54 "crates/extensions_ui",
55 "crates/feature_flags",
56 "crates/feedback",
57 "crates/file_finder",
58 "crates/file_icons",
59 "crates/fs",
60 "crates/fsevent",
61 "crates/fuzzy",
62 "crates/git",
63 "crates/git_hosting_providers",
64 "crates/git_ui",
65 "crates/go_to_line",
66 "crates/google_ai",
67 "crates/gpui",
68 "crates/gpui_macros",
69 "crates/gpui_tokio",
70
71 "crates/html_to_markdown",
72 "crates/http_client",
73 "crates/http_client_tls",
74 "crates/icons",
75 "crates/image_viewer",
76 "crates/indexed_docs",
77 "crates/inline_completion",
78 "crates/inline_completion_button",
79 "crates/inspector_ui",
80 "crates/install_cli",
81 "crates/jj",
82 "crates/jj_ui",
83 "crates/journal",
84 "crates/language",
85 "crates/language_extension",
86 "crates/language_model",
87 "crates/language_models",
88 "crates/language_selector",
89 "crates/language_tools",
90 "crates/languages",
91 "crates/livekit_api",
92 "crates/livekit_client",
93 "crates/lmstudio",
94 "crates/lsp",
95 "crates/markdown",
96 "crates/markdown_preview",
97 "crates/media",
98 "crates/menu",
99 "crates/svg_preview",
100 "crates/migrator",
101 "crates/mistral",
102 "crates/multi_buffer",
103 "crates/net",
104 "crates/node_runtime",
105 "crates/notifications",
106 "crates/ollama",
107 "crates/open_ai",
108 "crates/open_router",
109 "crates/outline",
110 "crates/outline_panel",
111 "crates/panel",
112 "crates/paths",
113 "crates/picker",
114 "crates/prettier",
115 "crates/project",
116 "crates/project_panel",
117 "crates/project_symbols",
118 "crates/prompt_store",
119 "crates/proto",
120 "crates/recent_projects",
121 "crates/refineable",
122 "crates/refineable/derive_refineable",
123 "crates/release_channel",
124 "crates/remote",
125 "crates/remote_server",
126 "crates/repl",
127 "crates/reqwest_client",
128 "crates/rich_text",
129 "crates/rope",
130 "crates/rpc",
131 "crates/rules_library",
132 "crates/schema_generator",
133 "crates/search",
134 "crates/semantic_index",
135 "crates/semantic_version",
136 "crates/session",
137 "crates/settings",
138 "crates/settings_ui",
139 "crates/snippet",
140 "crates/snippet_provider",
141 "crates/snippets_ui",
142 "crates/sqlez",
143 "crates/sqlez_macros",
144 "crates/story",
145 "crates/storybook",
146 "crates/streaming_diff",
147 "crates/sum_tree",
148 "crates/supermaven",
149 "crates/supermaven_api",
150 "crates/tab_switcher",
151 "crates/task",
152 "crates/tasks_ui",
153 "crates/telemetry",
154 "crates/telemetry_events",
155 "crates/terminal",
156 "crates/terminal_view",
157 "crates/text",
158 "crates/theme",
159 "crates/theme_extension",
160 "crates/theme_importer",
161 "crates/theme_selector",
162 "crates/time_format",
163 "crates/title_bar",
164 "crates/toolchain_selector",
165 "crates/ui",
166 "crates/ui_input",
167 "crates/ui_macros",
168 "crates/ui_prompt",
169 "crates/util",
170 "crates/util_macros",
171 "crates/vercel",
172 "crates/vim",
173 "crates/vim_mode_setting",
174 "crates/watch",
175 "crates/web_search",
176 "crates/web_search_providers",
177 "crates/welcome",
178 "crates/workspace",
179 "crates/worktree",
180 "crates/x_ai",
181 "crates/zed",
182 "crates/zed_actions",
183 "crates/zeta",
184 "crates/zlog",
185 "crates/zlog_settings",
186
187 #
188 # Extensions
189 #
190
191 "extensions/emmet",
192 "extensions/glsl",
193 "extensions/html",
194 "extensions/proto",
195 "extensions/ruff",
196 "extensions/slash-commands-example",
197 "extensions/snippets",
198 "extensions/test-extension",
199 "extensions/toml",
200
201 #
202 # Tooling
203 #
204
205 "tooling/workspace-hack",
206 "tooling/xtask",
207]
208default-members = ["crates/zed"]
209
210[workspace.package]
211publish = false
212edition = "2024"
213
214[workspace.dependencies]
215
216#
217# Workspace member crates
218#
219
220activity_indicator = { path = "crates/activity_indicator" }
221agent = { path = "crates/agent" }
222agent_ui = { path = "crates/agent_ui" }
223agent_settings = { path = "crates/agent_settings" }
224ai = { path = "crates/ai" }
225anthropic = { path = "crates/anthropic" }
226askpass = { path = "crates/askpass" }
227assets = { path = "crates/assets" }
228assistant_context = { path = "crates/assistant_context" }
229assistant_slash_command = { path = "crates/assistant_slash_command" }
230assistant_slash_commands = { path = "crates/assistant_slash_commands" }
231assistant_tool = { path = "crates/assistant_tool" }
232assistant_tools = { path = "crates/assistant_tools" }
233audio = { path = "crates/audio" }
234auto_update = { path = "crates/auto_update" }
235auto_update_helper = { path = "crates/auto_update_helper" }
236auto_update_ui = { path = "crates/auto_update_ui" }
237aws_http_client = { path = "crates/aws_http_client" }
238bedrock = { path = "crates/bedrock" }
239breadcrumbs = { path = "crates/breadcrumbs" }
240buffer_diff = { path = "crates/buffer_diff" }
241call = { path = "crates/call" }
242channel = { path = "crates/channel" }
243cli = { path = "crates/cli" }
244client = { path = "crates/client" }
245clock = { path = "crates/clock" }
246collab = { path = "crates/collab" }
247collab_ui = { path = "crates/collab_ui" }
248collections = { path = "crates/collections" }
249command_palette = { path = "crates/command_palette" }
250command_palette_hooks = { path = "crates/command_palette_hooks" }
251component = { path = "crates/component" }
252context_server = { path = "crates/context_server" }
253copilot = { path = "crates/copilot" }
254credentials_provider = { path = "crates/credentials_provider" }
255dap = { path = "crates/dap" }
256dap_adapters = { path = "crates/dap_adapters" }
257db = { path = "crates/db" }
258debug_adapter_extension = { path = "crates/debug_adapter_extension" }
259debugger_tools = { path = "crates/debugger_tools" }
260debugger_ui = { path = "crates/debugger_ui" }
261deepseek = { path = "crates/deepseek" }
262diagnostics = { path = "crates/diagnostics" }
263editor = { path = "crates/editor" }
264extension = { path = "crates/extension" }
265extension_host = { path = "crates/extension_host" }
266extensions_ui = { path = "crates/extensions_ui" }
267feature_flags = { path = "crates/feature_flags" }
268feedback = { path = "crates/feedback" }
269file_finder = { path = "crates/file_finder" }
270file_icons = { path = "crates/file_icons" }
271fs = { path = "crates/fs" }
272fsevent = { path = "crates/fsevent" }
273fuzzy = { path = "crates/fuzzy" }
274git = { path = "crates/git" }
275git_hosting_providers = { path = "crates/git_hosting_providers" }
276git_ui = { path = "crates/git_ui" }
277go_to_line = { path = "crates/go_to_line" }
278google_ai = { path = "crates/google_ai" }
279gpui = { path = "crates/gpui", default-features = false, features = [
280 "http_client",
281] }
282gpui_macros = { path = "crates/gpui_macros" }
283gpui_tokio = { path = "crates/gpui_tokio" }
284html_to_markdown = { path = "crates/html_to_markdown" }
285http_client = { path = "crates/http_client" }
286http_client_tls = { path = "crates/http_client_tls" }
287icons = { path = "crates/icons" }
288image_viewer = { path = "crates/image_viewer" }
289indexed_docs = { path = "crates/indexed_docs" }
290inline_completion = { path = "crates/inline_completion" }
291inline_completion_button = { path = "crates/inline_completion_button" }
292inspector_ui = { path = "crates/inspector_ui" }
293install_cli = { path = "crates/install_cli" }
294jj = { path = "crates/jj" }
295jj_ui = { path = "crates/jj_ui" }
296journal = { path = "crates/journal" }
297language = { path = "crates/language" }
298language_extension = { path = "crates/language_extension" }
299language_model = { path = "crates/language_model" }
300language_models = { path = "crates/language_models" }
301language_selector = { path = "crates/language_selector" }
302language_tools = { path = "crates/language_tools" }
303languages = { path = "crates/languages" }
304livekit_api = { path = "crates/livekit_api" }
305livekit_client = { path = "crates/livekit_client" }
306lmstudio = { path = "crates/lmstudio" }
307lsp = { path = "crates/lsp" }
308markdown = { path = "crates/markdown" }
309markdown_preview = { path = "crates/markdown_preview" }
310svg_preview = { path = "crates/svg_preview" }
311media = { path = "crates/media" }
312menu = { path = "crates/menu" }
313migrator = { path = "crates/migrator" }
314mistral = { path = "crates/mistral" }
315multi_buffer = { path = "crates/multi_buffer" }
316net = { path = "crates/net" }
317node_runtime = { path = "crates/node_runtime" }
318notifications = { path = "crates/notifications" }
319ollama = { path = "crates/ollama" }
320open_ai = { path = "crates/open_ai" }
321open_router = { path = "crates/open_router", features = ["schemars"] }
322outline = { path = "crates/outline" }
323outline_panel = { path = "crates/outline_panel" }
324panel = { path = "crates/panel" }
325paths = { path = "crates/paths" }
326picker = { path = "crates/picker" }
327plugin = { path = "crates/plugin" }
328plugin_macros = { path = "crates/plugin_macros" }
329prettier = { path = "crates/prettier" }
330project = { path = "crates/project" }
331project_panel = { path = "crates/project_panel" }
332project_symbols = { path = "crates/project_symbols" }
333prompt_store = { path = "crates/prompt_store" }
334proto = { path = "crates/proto" }
335recent_projects = { path = "crates/recent_projects" }
336refineable = { path = "crates/refineable" }
337release_channel = { path = "crates/release_channel" }
338remote = { path = "crates/remote" }
339remote_server = { path = "crates/remote_server" }
340repl = { path = "crates/repl" }
341reqwest_client = { path = "crates/reqwest_client" }
342rich_text = { path = "crates/rich_text" }
343rope = { path = "crates/rope" }
344rpc = { path = "crates/rpc" }
345rules_library = { path = "crates/rules_library" }
346search = { path = "crates/search" }
347semantic_index = { path = "crates/semantic_index" }
348semantic_version = { path = "crates/semantic_version" }
349session = { path = "crates/session" }
350settings = { path = "crates/settings" }
351settings_ui = { path = "crates/settings_ui" }
352snippet = { path = "crates/snippet" }
353snippet_provider = { path = "crates/snippet_provider" }
354snippets_ui = { path = "crates/snippets_ui" }
355sqlez = { path = "crates/sqlez" }
356sqlez_macros = { path = "crates/sqlez_macros" }
357story = { path = "crates/story" }
358storybook = { path = "crates/storybook" }
359streaming_diff = { path = "crates/streaming_diff" }
360sum_tree = { path = "crates/sum_tree" }
361supermaven = { path = "crates/supermaven" }
362supermaven_api = { path = "crates/supermaven_api" }
363tab_switcher = { path = "crates/tab_switcher" }
364task = { path = "crates/task" }
365tasks_ui = { path = "crates/tasks_ui" }
366telemetry = { path = "crates/telemetry" }
367telemetry_events = { path = "crates/telemetry_events" }
368terminal = { path = "crates/terminal" }
369terminal_view = { path = "crates/terminal_view" }
370text = { path = "crates/text" }
371theme = { path = "crates/theme" }
372theme_extension = { path = "crates/theme_extension" }
373theme_importer = { path = "crates/theme_importer" }
374theme_selector = { path = "crates/theme_selector" }
375time_format = { path = "crates/time_format" }
376title_bar = { path = "crates/title_bar" }
377toolchain_selector = { path = "crates/toolchain_selector" }
378ui = { path = "crates/ui" }
379ui_input = { path = "crates/ui_input" }
380ui_macros = { path = "crates/ui_macros" }
381ui_prompt = { path = "crates/ui_prompt" }
382util = { path = "crates/util" }
383util_macros = { path = "crates/util_macros" }
384vercel = { path = "crates/vercel" }
385vim = { path = "crates/vim" }
386vim_mode_setting = { path = "crates/vim_mode_setting" }
387
388watch = { path = "crates/watch" }
389web_search = { path = "crates/web_search" }
390web_search_providers = { path = "crates/web_search_providers" }
391welcome = { path = "crates/welcome" }
392workspace = { path = "crates/workspace" }
393worktree = { path = "crates/worktree" }
394x_ai = { path = "crates/x_ai" }
395zed = { path = "crates/zed" }
396zed_actions = { path = "crates/zed_actions" }
397zeta = { path = "crates/zeta" }
398zlog = { path = "crates/zlog" }
399zlog_settings = { path = "crates/zlog_settings" }
400
401#
402# External crates
403#
404
405aho-corasick = "1.1"
406alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
407any_vec = "0.14"
408anyhow = "1.0.86"
409arrayvec = { version = "0.7.4", features = ["serde"] }
410ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
411async-compat = "0.2.1"
412async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
413async-dispatcher = "0.1"
414async-fs = "2.1"
415async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
416async-recursion = "1.0.0"
417async-tar = "0.5.0"
418async-trait = "0.1"
419async-tungstenite = "0.29.1"
420async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
421aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
422aws-credential-types = { version = "1.2.2", features = [
423 "hardcoded-credentials",
424] }
425aws-sdk-bedrockruntime = { version = "1.80.0", features = [
426 "behavior-version-latest",
427] }
428aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
429aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
430base64 = "0.22"
431bitflags = "2.6.0"
432blade-graphics = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
433blade-macros = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
434blade-util = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
435blake3 = "1.5.3"
436bytes = "1.0"
437cargo_metadata = "0.19"
438cargo_toml = "0.21"
439chrono = { version = "0.4", features = ["serde"] }
440circular-buffer = "1.0"
441clap = { version = "4.4", features = ["derive"] }
442cocoa = "0.26"
443cocoa-foundation = "0.2.0"
444convert_case = "0.8.0"
445core-foundation = "0.10.0"
446core-foundation-sys = "0.8.6"
447core-video = { version = "0.4.3", features = ["metal"] }
448cpal = "0.16"
449criterion = { version = "0.5", features = ["html_reports"] }
450ctor = "0.4.0"
451dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "7f39295b441614ca9dbf44293e53c32f666897f9" }
452dashmap = "6.0"
453derive_more = "0.99.17"
454dirs = "4.0"
455documented = "0.9.1"
456dotenvy = "0.15.0"
457ec4rs = "1.1"
458emojis = "0.6.1"
459env_logger = "0.11"
460exec = "0.3.1"
461fancy-regex = "0.14.0"
462fork = "0.2.0"
463futures = "0.3"
464futures-batch = "0.6.1"
465futures-lite = "1.13"
466git2 = { version = "0.20.1", default-features = false }
467globset = "0.4"
468handlebars = "4.3"
469heck = "0.5"
470heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
471hex = "0.4.3"
472html5ever = "0.27.0"
473http = "1.1"
474hyper = "0.14"
475ignore = "0.4.22"
476image = "0.25.1"
477imara-diff = "0.1.8"
478indexmap = { version = "2.7.0", features = ["serde"] }
479indoc = "2"
480inventory = "0.3.19"
481itertools = "0.14.0"
482jj-lib = { git = "https://github.com/jj-vcs/jj", rev = "e18eb8e05efaa153fad5ef46576af145bba1807f" }
483json_dotpath = "1.1"
484jsonschema = "0.30.0"
485jsonwebtoken = "9.3"
486jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
487jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
488libc = "0.2"
489libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
490linkify = "0.10.0"
491log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
492lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "c9c189f1c5dd53c624a419ce35bc77ad6a908d18" }
493markup5ever_rcdom = "0.3.0"
494metal = "0.29"
495moka = { version = "0.12.10", features = ["sync"] }
496naga = { version = "25.0", features = ["wgsl-in"] }
497nanoid = "0.4"
498nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
499nix = "0.29"
500num-format = "0.4.4"
501objc = "0.2"
502open = "5.0.0"
503ordered-float = "2.1.1"
504palette = { version = "0.7.5", default-features = false, features = ["std"] }
505parking_lot = "0.12.1"
506partial-json-fixer = "0.5.3"
507pathdiff = "0.2"
508pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
509pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
510pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
511pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
512pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
513pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
514pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
515portable-pty = "0.9.0"
516postage = { version = "0.5", features = ["futures-traits"] }
517pretty_assertions = { version = "1.3.0", features = ["unstable"] }
518proc-macro2 = "1.0.93"
519profiling = "1"
520prost = "0.9"
521prost-build = "0.9"
522prost-types = "0.9"
523pulldown-cmark = { version = "0.12.0", default-features = false }
524quote = "1.0.9"
525rand = "0.8.5"
526rayon = "1.8"
527ref-cast = "1.0.24"
528regex = "1.5"
529reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
530 "charset",
531 "http2",
532 "macos-system-configuration",
533 "rustls-tls-native-roots",
534 "socks",
535 "stream",
536] }
537rsa = "0.9.6"
538runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
539 "async-dispatcher-runtime",
540] }
541rust-embed = { version = "8.4", features = ["include-exclude"] }
542rustc-demangle = "0.1.23"
543rustc-hash = "2.1.0"
544rustls = { version = "0.23.26" }
545rustls-platform-verifier = "0.5.0"
546scap = { git = "https://github.com/zed-industries/scap", rev = "08f0a01417505cc0990b9931a37e5120db92e0d0", default-features = false }
547schemars = { version = "1.0", features = ["indexmap2"] }
548semver = "1.0"
549serde = { version = "1.0", features = ["derive", "rc"] }
550serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
551serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
552serde_json_lenient = { version = "0.2", features = [
553 "preserve_order",
554 "raw_value",
555] }
556serde_repr = "0.1"
557sha2 = "0.10"
558shellexpand = "2.1.0"
559shlex = "1.3.0"
560simplelog = "0.12.2"
561smallvec = { version = "1.6", features = ["union"] }
562smol = "2.0"
563sqlformat = "0.2"
564streaming-iterator = "0.1"
565strsim = "0.11"
566strum = { version = "0.27.0", features = ["derive"] }
567subtle = "2.5.0"
568syn = { version = "2.0.101", features = ["full", "extra-traits"] }
569sys-locale = "0.3.1"
570sysinfo = "0.31.0"
571take-until = "0.2.0"
572tempfile = "3.20.0"
573thiserror = "2.0.12"
574tiktoken-rs = "0.7.0"
575time = { version = "0.3", features = [
576 "macros",
577 "parsing",
578 "serde",
579 "serde-well-known",
580 "formatting",
581] }
582tiny_http = "0.8"
583tokio = { version = "1" }
584tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
585toml = "0.8"
586tower-http = "0.4.4"
587tree-sitter = { version = "0.25.6", features = ["wasm"] }
588tree-sitter-bash = "0.25.0"
589tree-sitter-c = "0.23"
590tree-sitter-cpp = "0.23"
591tree-sitter-css = "0.23"
592tree-sitter-diff = "0.1.0"
593tree-sitter-elixir = "0.3"
594tree-sitter-embedded-template = "0.23.0"
595tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
596tree-sitter-go = "0.23"
597tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
598tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
599tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
600tree-sitter-html = "0.23"
601tree-sitter-jsdoc = "0.23"
602tree-sitter-json = "0.24"
603tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
604tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
605tree-sitter-regex = "0.24"
606tree-sitter-ruby = "0.23"
607tree-sitter-rust = "0.24"
608tree-sitter-typescript = "0.23"
609tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
610unicase = "2.6"
611unicode-script = "0.5.7"
612unicode-segmentation = "1.10"
613unindent = "0.2.0"
614url = "2.2"
615urlencoding = "2.1.2"
616uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
617walkdir = "2.5"
618wasm-encoder = "0.221"
619wasmparser = "0.221"
620wasmtime = { version = "29", default-features = false, features = [
621 "async",
622 "demangle",
623 "runtime",
624 "cranelift",
625 "component-model",
626 "incremental-cache",
627 "parallel-compilation",
628] }
629wasmtime-wasi = "29"
630which = "6.0.0"
631windows-core = "0.61"
632wit-component = "0.221"
633workspace-hack = "0.1.0"
634zed_llm_client = "= 0.8.6"
635zstd = "0.11"
636
637[workspace.dependencies.async-stripe]
638git = "https://github.com/zed-industries/async-stripe"
639rev = "3672dd4efb7181aa597bf580bf5a2f5d23db6735"
640default-features = false
641features = [
642 "runtime-tokio-hyper-rustls",
643 "billing",
644 "checkout",
645 "events",
646 # The features below are only enabled to get the `events` feature to build.
647 "chrono",
648 "connect",
649]
650
651[workspace.dependencies.windows]
652version = "0.61"
653features = [
654 "Foundation_Numerics",
655 "Storage_Search",
656 "Storage_Streams",
657 "System_Threading",
658 "UI_ViewManagement",
659 "Wdk_System_SystemServices",
660 "Win32_Globalization",
661 "Win32_Graphics_Direct2D",
662 "Win32_Graphics_Direct2D_Common",
663 "Win32_Graphics_DirectWrite",
664 "Win32_Graphics_Dwm",
665 "Win32_Graphics_Dxgi_Common",
666 "Win32_Graphics_Gdi",
667 "Win32_Graphics_Imaging",
668 "Win32_Graphics_Imaging_D2D",
669 "Win32_Networking_WinSock",
670 "Win32_Security",
671 "Win32_Security_Credentials",
672 "Win32_Storage_FileSystem",
673 "Win32_System_Com",
674 "Win32_System_Com_StructuredStorage",
675 "Win32_System_Console",
676 "Win32_System_DataExchange",
677 "Win32_System_IO",
678 "Win32_System_LibraryLoader",
679 "Win32_System_Memory",
680 "Win32_System_Ole",
681 "Win32_System_Pipes",
682 "Win32_System_SystemInformation",
683 "Win32_System_SystemServices",
684 "Win32_System_Threading",
685 "Win32_System_Variant",
686 "Win32_System_WinRT",
687 "Win32_UI_Controls",
688 "Win32_UI_HiDpi",
689 "Win32_UI_Input_Ime",
690 "Win32_UI_Input_KeyboardAndMouse",
691 "Win32_UI_Shell",
692 "Win32_UI_Shell_Common",
693 "Win32_UI_Shell_PropertiesSystem",
694 "Win32_UI_WindowsAndMessaging",
695]
696
697[patch.crates-io]
698notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
699notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
700
701# Makes the workspace hack crate refer to the local one, but only when you're building locally
702workspace-hack = { path = "tooling/workspace-hack" }
703
704[profile.dev]
705split-debuginfo = "unpacked"
706codegen-units = 16
707
708[profile.dev.package]
709taffy = { opt-level = 3 }
710cranelift-codegen = { opt-level = 3 }
711cranelift-codegen-meta = { opt-level = 3 }
712cranelift-codegen-shared = { opt-level = 3 }
713resvg = { opt-level = 3 }
714rustybuzz = { opt-level = 3 }
715ttf-parser = { opt-level = 3 }
716wasmtime-cranelift = { opt-level = 3 }
717wasmtime = { opt-level = 3 }
718# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
719activity_indicator = { codegen-units = 1 }
720assets = { codegen-units = 1 }
721breadcrumbs = { codegen-units = 1 }
722collections = { codegen-units = 1 }
723command_palette = { codegen-units = 1 }
724command_palette_hooks = { codegen-units = 1 }
725extension_cli = { codegen-units = 1 }
726feature_flags = { codegen-units = 1 }
727file_icons = { codegen-units = 1 }
728fsevent = { codegen-units = 1 }
729image_viewer = { codegen-units = 1 }
730inline_completion_button = { codegen-units = 1 }
731install_cli = { codegen-units = 1 }
732journal = { codegen-units = 1 }
733lmstudio = { codegen-units = 1 }
734menu = { codegen-units = 1 }
735notifications = { codegen-units = 1 }
736ollama = { codegen-units = 1 }
737outline = { codegen-units = 1 }
738paths = { codegen-units = 1 }
739prettier = { codegen-units = 1 }
740project_symbols = { codegen-units = 1 }
741refineable = { codegen-units = 1 }
742release_channel = { codegen-units = 1 }
743reqwest_client = { codegen-units = 1 }
744rich_text = { codegen-units = 1 }
745semantic_version = { codegen-units = 1 }
746session = { codegen-units = 1 }
747snippet = { codegen-units = 1 }
748snippets_ui = { codegen-units = 1 }
749sqlez_macros = { codegen-units = 1 }
750story = { codegen-units = 1 }
751supermaven_api = { codegen-units = 1 }
752telemetry_events = { codegen-units = 1 }
753theme_selector = { codegen-units = 1 }
754time_format = { codegen-units = 1 }
755ui_input = { codegen-units = 1 }
756zed_actions = { codegen-units = 1 }
757
758[profile.release]
759debug = "limited"
760lto = "thin"
761codegen-units = 1
762
763[profile.release.package]
764zed = { codegen-units = 16 }
765
766[profile.release-fast]
767inherits = "release"
768debug = "full"
769lto = false
770codegen-units = 16
771
772[workspace.lints.rust]
773unexpected_cfgs = { level = "allow" }
774
775[workspace.lints.clippy]
776dbg_macro = "deny"
777todo = "deny"
778
779# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
780# warning on this rule produces a lot of noise.
781single_range_in_vec_init = "allow"
782
783# These are all of the rules that currently have violations in the Zed
784# codebase.
785#
786# We'll want to drive this list down by either:
787# 1. fixing violations of the rule and begin enforcing it
788# 2. deciding we want to allow the rule permanently, at which point
789# we should codify that separately above.
790#
791# This list shouldn't be added to; it should only get shorter.
792# =============================================================================
793
794# There are a bunch of rules currently failing in the `style` group, so
795# allow all of those, for now.
796style = { level = "allow", priority = -1 }
797
798# Temporary list of style lints that we've fixed so far.
799module_inception = { level = "deny" }
800question_mark = { level = "deny" }
801redundant_closure = { level = "deny" }
802# Individual rules that have violations in the codebase:
803type_complexity = "allow"
804# We often return trait objects from `new` functions.
805new_ret_no_self = { level = "allow" }
806# We have a few `next` functions that differ in lifetimes
807# compared to Iterator::next. Yet, clippy complains about those.
808should_implement_trait = { level = "allow" }
809let_underscore_future = "allow"
810
811# in Rust it can be very tedious to reduce argument count without
812# running afoul of the borrow checker.
813too_many_arguments = "allow"
814
815# We often have large enum variants yet we rarely actually bother with splitting them up.
816large_enum_variant = "allow"
817
818[workspace.metadata.cargo-machete]
819ignored = [
820 "bindgen",
821 "cbindgen",
822 "prost_build",
823 "serde",
824 "component",
825 "documented",
826 "workspace-hack",
827]