Cargo.toml

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