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