Cargo.toml

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