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