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