Cargo.toml

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