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