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