Cargo.toml

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