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