Cargo.toml

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