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/diagnostics",
 21    "crates/drag_and_drop",
 22    "crates/editor",
 23    "crates/feedback",
 24    "crates/file_finder",
 25    "crates/fs",
 26    "crates/fsevent",
 27    "crates/fuzzy",
 28    "crates/git",
 29    "crates/go_to_line",
 30    "crates/gpui",
 31    "crates/gpui/playground",
 32    "crates/gpui_macros",
 33    "crates/install_cli",
 34    "crates/journal",
 35    "crates/language",
 36    "crates/language_selector",
 37    "crates/language_tools",
 38    "crates/live_kit_client",
 39    "crates/live_kit_server",
 40    "crates/lsp",
 41    "crates/media",
 42    "crates/menu",
 43    "crates/node_runtime",
 44    "crates/outline",
 45    "crates/picker",
 46    "crates/plugin",
 47    "crates/plugin_macros",
 48    "crates/plugin_runtime",
 49    "crates/project",
 50    "crates/project_panel",
 51    "crates/project_symbols",
 52    "crates/recent_projects",
 53    "crates/rope",
 54    "crates/rpc",
 55    "crates/search",
 56    "crates/settings",
 57    "crates/snippet",
 58    "crates/sqlez",
 59    "crates/sqlez_macros",
 60    "crates/staff_mode",
 61    "crates/sum_tree",
 62    "crates/terminal",
 63    "crates/text",
 64    "crates/theme",
 65    "crates/theme_selector",
 66    "crates/util",
 67    "crates/vector_store",
 68    "crates/vim",
 69    "crates/vcs_menu",
 70    "crates/workspace",
 71    "crates/welcome",
 72    "crates/xtask",
 73    "crates/zed",
 74    "crates/zed-actions"
 75]
 76default-members = ["crates/zed"]
 77resolver = "2"
 78
 79[workspace.dependencies]
 80anyhow = { version = "1.0.57" }
 81async-trait = { version = "0.1" }
 82ctor = { version = "0.1" }
 83env_logger = { version = "0.9" }
 84futures = { version = "0.3" }
 85globset = { version = "0.4" }
 86indoc = "1"
 87# We explicitly disable a http2 support in isahc.
 88isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
 89lazy_static = { version = "1.4.0" }
 90log = { version = "0.4.16", features = ["kv_unstable_serde"] }
 91ordered-float = { version = "2.1.1" }
 92parking_lot = { version = "0.11.1" }
 93postage = { version = "0.5", features = ["futures-traits"] }
 94rand = { version = "0.8.5" }
 95regex = { version = "1.5" }
 96rust-embed = { version = "6.3", features = ["include-exclude"] }
 97schemars = { version = "0.8" }
 98serde = { version = "1.0", features = ["derive", "rc"] }
 99serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
100serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
101smallvec = { version = "1.6", features = ["union"] }
102smol = { version = "1.2" }
103tempdir = { version = "0.3.7" }
104thiserror = { version = "1.0.29" }
105time = { version = "0.3", features = ["serde", "serde-well-known"] }
106toml = { version = "0.5" }
107tree-sitter = "0.20"
108unindent = { version = "0.1.7" }
109pretty_assertions = "1.3.0"
110
111[patch.crates-io]
112tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "49226023693107fba9a1191136a4f47f38cdca73" }
113async-task = { git = "https://github.com/zed-industries/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e" }
114
115# TODO - Remove when a version is released with this PR: https://github.com/servo/core-foundation-rs/pull/457
116cocoa = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
117cocoa-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
118core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
119core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
120core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
121
122[profile.dev]
123split-debuginfo = "unpacked"
124
125[profile.release]
126debug = true
127lto = "thin"
128codegen-units = 1