Cargo.toml

  1[workspace]
  2members = [
  3    "crates/activity_indicator",
  4    "crates/ai",
  5    "crates/audio",
  6    "crates/auto_update",
  7    "crates/breadcrumbs",
  8    "crates/call",
  9    "crates/cli",
 10    "crates/client",
 11    "crates/clock",
 12    "crates/collab",
 13    "crates/collab_ui",
 14    "crates/collections",
 15    "crates/command_palette",
 16    "crates/context_menu",
 17    "crates/copilot",
 18    "crates/copilot_button",
 19    "crates/db",
 20    "crates/refineable",
 21    "crates/refineable/derive_refineable",
 22    "crates/diagnostics",
 23    "crates/drag_and_drop",
 24    "crates/editor",
 25    "crates/feedback",
 26    "crates/file_finder",
 27    "crates/fs",
 28    "crates/fsevent",
 29    "crates/fuzzy",
 30    "crates/git",
 31    "crates/go_to_line",
 32    "crates/gpui",
 33    "crates/gpui/playground",
 34    "crates/gpui/playground_macros",
 35    "crates/gpui_macros",
 36    "crates/install_cli",
 37    "crates/journal",
 38    "crates/language",
 39    "crates/language_selector",
 40    "crates/language_tools",
 41    "crates/live_kit_client",
 42    "crates/live_kit_server",
 43    "crates/lsp",
 44    "crates/media",
 45    "crates/menu",
 46    "crates/node_runtime",
 47    "crates/outline",
 48    "crates/picker",
 49    "crates/plugin",
 50    "crates/plugin_macros",
 51    "crates/plugin_runtime",
 52    "crates/project",
 53    "crates/project_panel",
 54    "crates/project_symbols",
 55    "crates/recent_projects",
 56    "crates/rope",
 57    "crates/rpc",
 58    "crates/search",
 59    "crates/settings",
 60    "crates/snippet",
 61    "crates/sqlez",
 62    "crates/sqlez_macros",
 63    "crates/staff_mode",
 64    "crates/sum_tree",
 65    "crates/terminal",
 66    "crates/text",
 67    "crates/theme",
 68    "crates/theme_selector",
 69    "crates/util",
 70    "crates/semantic_index",
 71    "crates/vim",
 72    "crates/vcs_menu",
 73    "crates/workspace",
 74    "crates/welcome",
 75    "crates/xtask",
 76    "crates/zed",
 77    "crates/zed-actions"
 78]
 79default-members = ["crates/zed"]
 80resolver = "2"
 81
 82[workspace.dependencies]
 83anyhow = { version = "1.0.57" }
 84async-trait = { version = "0.1" }
 85ctor = { version = "0.1" }
 86derive_more = { version = "0.99.17" }
 87env_logger = { version = "0.9" }
 88futures = { version = "0.3" }
 89globset = { version = "0.4" }
 90indoc = "1"
 91# We explicitly disable a http2 support in isahc.
 92isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
 93lazy_static = { version = "1.4.0" }
 94log = { version = "0.4.16", features = ["kv_unstable_serde"] }
 95ordered-float = { version = "2.1.1" }
 96parking_lot = { version = "0.11.1" }
 97postage = { version = "0.5", features = ["futures-traits"] }
 98rand = { version = "0.8.5" }
 99refineable = { path = "./crates/refineable" }
100regex = { version = "1.5" }
101rust-embed = { version = "6.3", features = ["include-exclude"] }
102schemars = { version = "0.8" }
103serde = { version = "1.0", features = ["derive", "rc"] }
104serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
105serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
106smallvec = { version = "1.6", features = ["union"] }
107smol = { version = "1.2" }
108tempdir = { version = "0.3.7" }
109thiserror = { version = "1.0.29" }
110time = { version = "0.3", features = ["serde", "serde-well-known"] }
111toml = { version = "0.5" }
112tree-sitter = "0.20"
113unindent = { version = "0.1.7" }
114pretty_assertions = "1.3.0"
115
116tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "1b0321ee85701d5036c334a6f04761cdc672e64c" }
117tree-sitter-c = "0.20.1"
118tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev="f44509141e7e483323d2ec178f2d2e6c0fc041c1" }
119tree-sitter-css = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" }
120tree-sitter-elixir = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "a2861e88a730287a60c11ea9299c033c7d076e30" }
121tree-sitter-elm = { git = "https://github.com/elm-tooling/tree-sitter-elm", rev = "692c50c0b961364c40299e73c1306aecb5d20f40"}
122tree-sitter-embedded-template = "0.20.0"
123tree-sitter-glsl = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "2a56fb7bc8bb03a1892b4741279dd0a8758b7fb3" }
124tree-sitter-go = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "aeb2f33b366fd78d5789ff104956ce23508b85db" }
125tree-sitter-heex = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
126tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "40a81c01a40ac48744e0c8ccabbaba1920441199" }
127tree-sitter-rust = "0.20.3"
128tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
129tree-sitter-php = { git = "https://github.com/tree-sitter/tree-sitter-php", rev = "d43130fd1525301e9826f420c5393a4d169819fc" }
130tree-sitter-python = "0.20.2"
131tree-sitter-toml = { git = "https://github.com/tree-sitter/tree-sitter-toml", rev = "342d9be207c2dba869b9967124c679b5e6fd0ebe" }
132tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
133tree-sitter-ruby = "0.20.0"
134tree-sitter-html = "0.19.0"
135tree-sitter-scheme = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9"}
136tree-sitter-svelte = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "697bb515471871e85ff799ea57a76298a71a9cca"}
137tree-sitter-racket = { git = "https://github.com/zed-industries/tree-sitter-racket", rev = "eb010cf2c674c6fd9a6316a84e28ef90190fe51a"}
138tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "f545a41f57502e1b5ddf2a6668896c1b0620f930"}
139tree-sitter-lua = "0.0.14"
140tree-sitter-nix = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "66e3e9ce9180ae08fc57372061006ef83f0abde7" }
141
142[patch.crates-io]
143tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "35a6052fbcafc5e5fc0f9415b8652be7dcaf7222" }
144async-task = { git = "https://github.com/zed-industries/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e" }
145
146# TODO - Remove when a version is released with this PR: https://github.com/servo/core-foundation-rs/pull/457
147cocoa = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
148cocoa-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
149core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
150core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
151core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
152
153[profile.dev]
154split-debuginfo = "unpacked"
155
156[profile.release]
157debug = true
158lto = "thin"
159codegen-units = 1