Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Clean up many small dependencies (part 3) (#8425)

Dzmitry Malyshaua44fc2444580
diff --git a/Cargo.lock b/Cargo.lock
index 0c7b9f9d61e..629086d3644 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -13,9 +13,7 @@ dependencies = [
"gpui",
"language",
"project",
- "settings",
"smallvec",
- "theme",
"ui",
"util",
"workspace",
@@ -94,7 +92,6 @@ dependencies = [
"parse_duration",
"postage",
"rand 0.8.5",
- "regex",
"rusqlite",
"serde",
"serde_json",
@@ -756,9 +753,7 @@ dependencies = [
"anyhow",
"collections",
"derive_more",
- "futures 0.3.28",
"gpui",
- "log",
"parking_lot 0.11.2",
"rodio",
"util",
@@ -774,11 +769,9 @@ dependencies = [
"editor",
"gpui",
"isahc",
- "lazy_static",
"log",
"markdown_preview",
"menu",
- "project",
"release_channel",
"schemars",
"serde",
@@ -787,7 +780,6 @@ dependencies = [
"settings",
"smol",
"tempfile",
- "theme",
"util",
"workspace",
]
@@ -1514,15 +1506,10 @@ dependencies = [
name = "breadcrumbs"
version = "0.1.0"
dependencies = [
- "collections",
"editor",
"gpui",
"itertools 0.11.0",
- "language",
"outline",
- "project",
- "search",
- "settings",
"theme",
"ui",
"workspace",
@@ -1722,34 +1709,18 @@ dependencies = [
"client",
"clock",
"collections",
- "db",
- "feature_flags",
"futures 0.3.28",
"gpui",
- "image",
"language",
- "lazy_static",
"log",
- "parking_lot 0.11.2",
- "postage",
"rand 0.8.5",
"release_channel",
"rpc",
- "schemars",
- "serde",
- "serde_derive",
"settings",
- "smallvec",
- "smol",
"sum_tree",
- "tempfile",
"text",
- "thiserror",
"time",
- "tiny_http",
- "url",
"util",
- "uuid",
]
[[package]]
@@ -2002,7 +1973,7 @@ dependencies = [
"block",
"cocoa-foundation",
"core-foundation",
- "core-graphics 0.23.1",
+ "core-graphics",
"foreign-types 0.5.0",
"libc",
"objc",
@@ -2131,19 +2102,16 @@ dependencies = [
"db",
"editor",
"extensions_ui",
- "feature_flags",
"feedback",
"futures 0.3.28",
"fuzzy",
"gpui",
"language",
"lazy_static",
- "log",
"menu",
"notifications",
"parking_lot 0.11.2",
"picker",
- "postage",
"pretty_assertions",
"project",
"recent_projects",
@@ -2156,7 +2124,6 @@ dependencies = [
"settings",
"smallvec",
"story",
- "sys-locale",
"theme",
"theme_selector",
"time",
@@ -2364,19 +2331,6 @@ version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
-[[package]]
-name = "core-graphics"
-version = "0.22.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "core-graphics-types",
- "foreign-types 0.3.2",
- "libc",
-]
-
[[package]]
name = "core-graphics"
version = "0.23.1"
@@ -2417,7 +2371,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9d2790b5c08465d49f8dc05c8bcae9fea467855947db39b0f8145c091aaced5"
dependencies = [
"core-foundation",
- "core-graphics 0.23.1",
+ "core-graphics",
"foreign-types 0.5.0",
"libc",
]
@@ -2813,17 +2767,11 @@ name = "db"
version = "0.1.0"
dependencies = [
"anyhow",
- "async-trait",
- "collections",
- "env_logger",
"gpui",
"indoc",
"lazy_static",
"log",
- "parking_lot 0.11.2",
"release_channel",
- "serde",
- "serde_derive",
"smol",
"sqlez",
"sqlez_macros",
@@ -2904,22 +2852,6 @@ dependencies = [
"syn 1.0.109",
]
-[[package]]
-name = "dhat"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2aaf837aaf456f6706cb46386ba8dffd4013a757e36f4ea05c20dd46b209a3"
-dependencies = [
- "backtrace",
- "lazy_static",
- "mintex",
- "parking_lot 0.12.1",
- "rustc-hash",
- "serde",
- "serde_json",
- "thousands",
-]
-
[[package]]
name = "diagnostics"
version = "0.1.0"
@@ -3118,25 +3050,20 @@ dependencies = [
"multi_buffer",
"ordered-float 2.10.0",
"parking_lot 0.11.2",
- "postage",
"project",
"rand 0.8.5",
"release_channel",
- "rich_text",
"rpc",
"schemars",
"serde",
- "serde_derive",
"serde_json",
"settings",
"smallvec",
"smol",
"snippet",
- "sqlez",
"sum_tree",
"text",
"theme",
- "tree-sitter",
"tree-sitter-html",
"tree-sitter-rust",
"tree-sitter-typescript",
@@ -3323,7 +3250,6 @@ dependencies = [
"anyhow",
"async-compression",
"async-tar",
- "client",
"collections",
"fs",
"futures 0.3.28",
@@ -3344,25 +3270,13 @@ dependencies = [
name = "extensions_ui"
version = "0.1.0"
dependencies = [
- "anyhow",
- "async-compression",
- "async-tar",
"client",
- "db",
"editor",
"extension",
- "fs",
- "futures 0.3.28",
- "fuzzy",
"gpui",
- "log",
- "project",
- "serde",
- "serde_json",
"settings",
"theme",
"ui",
- "util",
"workspace",
]
@@ -3419,7 +3333,6 @@ checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
name = "feature_flags"
version = "0.1.0"
dependencies = [
- "anyhow",
"gpui",
]
@@ -3565,7 +3478,7 @@ dependencies = [
"bitflags 1.3.2",
"byteorder",
"core-foundation",
- "core-graphics 0.23.1",
+ "core-graphics",
"core-text",
"dirs-next",
"dwrote",
@@ -3709,7 +3622,6 @@ dependencies = [
"log",
"notify",
"parking_lot 0.11.2",
- "regex",
"rope",
"serde",
"serde_derive",
@@ -3997,20 +3909,14 @@ dependencies = [
name = "git"
version = "0.1.0"
dependencies = [
- "anyhow",
- "async-trait",
"clock",
- "collections",
- "futures 0.3.28",
"git2",
"lazy_static",
"log",
- "parking_lot 0.11.2",
"smol",
"sum_tree",
"text",
"unindent",
- "util",
]
[[package]]
@@ -4076,9 +3982,6 @@ dependencies = [
"editor",
"gpui",
"menu",
- "postage",
- "serde",
- "settings",
"text",
"theme",
"ui",
@@ -4126,7 +4029,6 @@ dependencies = [
"async-task",
"backtrace",
"bindgen 0.65.1",
- "bitflags 2.4.1",
"blade-graphics",
"blade-macros",
"block",
@@ -4135,12 +4037,11 @@ dependencies = [
"cocoa",
"collections",
"core-foundation",
- "core-graphics 0.23.1",
+ "core-graphics",
"core-text",
"cosmic-text",
"ctor",
"derive_more",
- "dhat",
"env_logger",
"etagere",
"flume",
@@ -4158,11 +4059,9 @@ dependencies = [
"num_cpus",
"objc",
"open",
- "ordered-float 2.10.0",
"parking",
"parking_lot 0.11.2",
"pathfinder_geometry",
- "png",
"postage",
"profiling",
"rand 0.8.5",
@@ -4175,7 +4074,6 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
- "simplelog",
"slotmap",
"smallvec",
"smol",
@@ -4662,7 +4560,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"gpui",
- "log",
"smol",
"util",
]
@@ -4939,9 +4836,7 @@ name = "language"
version = "0.1.0"
dependencies = [
"anyhow",
- "async-broadcast 0.4.1",
"async-trait",
- "client",
"clock",
"collections",
"ctor",
@@ -4963,7 +4858,6 @@ dependencies = [
"rpc",
"schemars",
"serde",
- "serde_derive",
"serde_json",
"settings",
"similar",
@@ -4972,7 +4866,6 @@ dependencies = [
"sum_tree",
"text",
"theme",
- "toml 0.8.10",
"tree-sitter",
"tree-sitter-elixir",
"tree-sitter-embedded-template",
@@ -4980,7 +4873,6 @@ dependencies = [
"tree-sitter-html",
"tree-sitter-json 0.20.0",
"tree-sitter-markdown",
- "tree-sitter-python",
"tree-sitter-ruby",
"tree-sitter-rust",
"tree-sitter-typescript",
@@ -5020,13 +4912,11 @@ dependencies = [
"lsp",
"project",
"release_channel",
- "serde",
"serde_json",
"settings",
"theme",
"tree-sitter",
"ui",
- "unindent",
"util",
"workspace",
]
@@ -5279,27 +5169,17 @@ dependencies = [
"anyhow",
"async-broadcast 0.4.1",
"async-trait",
- "block",
- "byteorder",
- "bytes 1.5.0",
- "cocoa",
"collections",
"core-foundation",
- "core-graphics 0.22.3",
- "foreign-types 0.3.2",
"futures 0.3.28",
"gpui",
- "hmac 0.12.1",
- "jwt",
"live_kit_server",
"log",
"media",
"nanoid",
- "objc",
"parking_lot 0.11.2",
"postage",
"serde",
- "serde_derive",
"serde_json",
"sha2 0.10.7",
"simplelog",
@@ -5311,7 +5191,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
- "futures 0.3.28",
"hmac 0.12.1",
"jwt",
"log",
@@ -5320,7 +5199,6 @@ dependencies = [
"prost-types 0.8.0",
"reqwest",
"serde",
- "serde_derive",
"sha2 0.10.7",
]
@@ -5435,19 +5313,13 @@ dependencies = [
name = "markdown_preview"
version = "0.1.0"
dependencies = [
- "anyhow",
"editor",
"gpui",
"language",
- "lazy_static",
- "log",
- "menu",
"pretty_assertions",
- "project",
"pulldown-cmark",
"theme",
"ui",
- "util",
"workspace",
]
@@ -5497,8 +5369,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bindgen 0.65.1",
- "block",
- "bytes 1.5.0",
"core-foundation",
"foreign-types 0.5.0",
"metal",
@@ -5634,16 +5504,6 @@ version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e53debba6bda7a793e5f99b8dacf19e626084f525f7829104ba9898f367d85ff"
-[[package]]
-name = "mintex"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd7c5ba1c3b5a23418d7bbf98c71c3d4946a0125002129231da8d6b723d559cb"
-dependencies = [
- "once_cell",
- "sys-info",
-]
-
[[package]]
name = "mio"
version = "0.6.23"
@@ -5712,46 +5572,22 @@ dependencies = [
name = "multi_buffer"
version = "0.1.0"
dependencies = [
- "aho-corasick",
"anyhow",
- "client",
"clock",
"collections",
- "convert_case 0.6.0",
- "copilot",
- "ctor",
- "env_logger",
"futures 0.3.28",
"git",
"gpui",
"indoc",
"itertools 0.11.0",
"language",
- "lazy_static",
"log",
- "lsp",
- "ordered-float 2.10.0",
"parking_lot 0.11.2",
- "postage",
- "project",
- "pulldown-cmark",
"rand 0.8.5",
- "rich_text",
- "schemars",
- "serde",
- "serde_derive",
"settings",
- "smallvec",
- "smol",
- "snippet",
"sum_tree",
"text",
"theme",
- "tree-sitter",
- "tree-sitter-html",
- "tree-sitter-rust",
- "tree-sitter-typescript",
- "unindent",
"util",
]
@@ -6385,10 +6221,8 @@ dependencies = [
"language",
"ordered-float 2.10.0",
"picker",
- "postage",
"settings",
"smol",
- "text",
"theme",
"ui",
"util",
@@ -6857,10 +6691,8 @@ name = "prettier"
version = "0.1.0"
dependencies = [
"anyhow",
- "client",
"collections",
"fs",
- "futures 0.3.28",
"gpui",
"language",
"log",
@@ -6868,7 +6700,6 @@ dependencies = [
"node_runtime",
"parking_lot 0.11.2",
"serde",
- "serde_derive",
"serde_json",
"util",
]
@@ -6986,7 +6817,6 @@ dependencies = [
"clock",
"collections",
"copilot",
- "db",
"env_logger",
"fs",
"futures 0.3.28",
@@ -7034,11 +6864,9 @@ dependencies = [
"collections",
"db",
"editor",
- "futures 0.3.28",
"gpui",
"language",
"menu",
- "postage",
"pretty_assertions",
"project",
"schemars",
@@ -7047,7 +6875,6 @@ dependencies = [
"serde_derive",
"serde_json",
"settings",
- "smallvec",
"theme",
"ui",
"unicase",
@@ -7068,13 +6895,10 @@ dependencies = [
"lsp",
"ordered-float 2.10.0",
"picker",
- "postage",
"project",
"release_channel",
"serde_json",
"settings",
- "smol",
- "text",
"theme",
"util",
"workspace",
@@ -7369,7 +7193,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac4ea493258d54c24cb46aa9345d099e58e2ea3f30dd63667fc54fc892f18e76"
dependencies = [
"cocoa",
- "core-graphics 0.23.1",
+ "core-graphics",
"objc",
"raw-window-handle 0.5.2",
]
@@ -7479,9 +7303,6 @@ name = "refineable"
version = "0.1.0"
dependencies = [
"derive_refineable",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
]
[[package]]
@@ -7796,7 +7617,6 @@ name = "rpc"
version = "0.1.0"
dependencies = [
"anyhow",
- "async-lock 2.8.0",
"async-tungstenite",
"base64 0.13.1",
"collections",
@@ -7809,7 +7629,6 @@ dependencies = [
"rand 0.8.5",
"rsa 0.4.0",
"serde",
- "serde_derive",
"serde_json",
"strum",
"tracing",
@@ -8299,13 +8118,10 @@ dependencies = [
"futures 0.3.28",
"gpui",
"language",
- "log",
"menu",
- "postage",
"project",
"semantic_index",
"serde",
- "serde_derive",
"serde_json",
"settings",
"smallvec",
@@ -8366,19 +8182,15 @@ version = "0.1.0"
dependencies = [
"ai",
"anyhow",
- "async-trait",
- "client",
"collections",
"ctor",
"env_logger",
"futures 0.3.28",
- "globset",
"gpui",
"language",
"lazy_static",
"log",
"ndarray",
- "node_runtime",
"ordered-float 2.10.0",
"parking_lot 0.11.2",
"postage",
@@ -8388,7 +8200,6 @@ dependencies = [
"release_channel",
"rpc",
"rusqlite",
- "rust-embed",
"schemars",
"serde",
"serde_json",
@@ -8396,7 +8207,6 @@ dependencies = [
"sha1",
"smol",
"tempfile",
- "tiktoken-rs",
"tree-sitter",
"tree-sitter-cpp",
"tree-sitter-elixir",
@@ -8889,8 +8699,6 @@ name = "sqlez_macros"
version = "0.1.0"
dependencies = [
"lazy_static",
- "proc-macro2",
- "quote",
"sqlez",
"sqlformat",
"syn 1.0.109",
@@ -9361,16 +9169,6 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
-[[package]]
-name = "sys-info"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b3a0d0aba8bf96a0e1ddfdc352fc53b3df7f39318c71854910c3c4b024ae52c"
-dependencies = [
- "cc",
- "libc",
-]
-
[[package]]
name = "sys-locale"
version = "0.3.1"
@@ -9510,15 +9308,12 @@ dependencies = [
"alacritty_terminal",
"anyhow",
"collections",
- "db",
"dirs 4.0.0",
"futures 0.3.28",
"gpui",
"itertools 0.11.0",
"lazy_static",
"libc",
- "mio-extras",
- "ordered-float 2.10.0",
"procinfo",
"rand 0.8.5",
"schemars",
@@ -9526,8 +9321,6 @@ dependencies = [
"serde_derive",
"serde_json",
"settings",
- "shellexpand",
- "smallvec",
"smol",
"task",
"theme",
@@ -9581,7 +9374,6 @@ dependencies = [
"clock",
"collections",
"ctor",
- "digest 0.9.0",
"env_logger",
"gpui",
"lazy_static",
@@ -9662,17 +9454,13 @@ name = "theme_selector"
version = "0.1.0"
dependencies = [
"client",
- "editor",
"feature_flags",
"fs",
"fuzzy",
"gpui",
"log",
- "parking_lot 0.11.2",
"picker",
- "postage",
"settings",
- "smol",
"theme",
"ui",
"util",
@@ -9699,12 +9487,6 @@ dependencies = [
"syn 2.0.48",
]
-[[package]]
-name = "thousands"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
-
[[package]]
name = "thread_local"
version = "1.1.7"
@@ -10718,8 +10500,6 @@ dependencies = [
"gpui",
"itertools 0.11.0",
"menu",
- "rand 0.8.5",
- "serde",
"settings",
"smallvec",
"story",
@@ -12045,14 +11825,9 @@ name = "zed"
version = "0.125.0"
dependencies = [
"activity_indicator",
- "ai",
"anyhow",
"assets",
"assistant",
- "async-compression",
- "async-recursion 0.3.2",
- "async-tar",
- "async-trait",
"audio",
"auto_update",
"backtrace",
@@ -12068,14 +11843,12 @@ dependencies = [
"command_palette",
"copilot",
"copilot_ui",
- "ctor",
"db",
"diagnostics",
"editor",
"env_logger",
"extension",
"extensions_ui",
- "feature_flags",
"feedback",
"file_finder",
"fs",
@@ -12083,9 +11856,6 @@ dependencies = [
"futures 0.3.28",
"go_to_line",
"gpui",
- "ignore",
- "image",
- "indexmap 1.9.3",
"install_cli",
"isahc",
"itertools 0.11.0",
@@ -12094,57 +11864,34 @@ dependencies = [
"language_selector",
"language_tools",
"languages",
- "lazy_static",
- "libc",
"log",
- "lsp",
"markdown_preview",
"menu",
"mimalloc",
"node_runtime",
"notifications",
- "num_cpus",
"outline",
"parking_lot 0.11.2",
- "postage",
- "profiling",
"project",
"project_panel",
"project_symbols",
"quick_action_bar",
- "rand 0.8.5",
"recent_projects",
- "regex",
"release_channel",
"rope",
- "rpc",
- "rsa 0.4.0",
- "rust-embed",
- "schemars",
"search",
"semantic_index",
"serde",
- "serde_derive",
"serde_json",
"settings",
- "shellexpand",
"simplelog",
- "smallvec",
"smol",
- "sum_tree",
"task",
"tasks_ui",
- "tempfile",
"terminal_view",
- "text",
"theme",
"theme_selector",
- "thiserror",
- "tiny_http",
- "toml 0.8.10",
"tree-sitter-rust",
- "unindent",
- "url",
"urlencoding",
"util",
"uuid",
diff --git a/Cargo.toml b/Cargo.toml
index 4bc18e02416..9a623390182 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -318,3 +318,6 @@ opt-level = 3
debug = "limited"
lto = "thin"
codegen-units = 1
+
+[workspace.metadata.cargo-machete]
+ignored = ["bindgen", "cbindgen", "prost_build", "serde"]
diff --git a/crates/activity_indicator/Cargo.toml b/crates/activity_indicator/Cargo.toml
index 325c9be6e0e..1513377e7da 100644
--- a/crates/activity_indicator/Cargo.toml
+++ b/crates/activity_indicator/Cargo.toml
@@ -17,9 +17,7 @@ futures.workspace = true
gpui.workspace = true
language.workspace = true
project.workspace = true
-settings.workspace = true
smallvec.workspace = true
-theme.workspace = true
ui.workspace = true
util.workspace = true
workspace.workspace = true
diff --git a/crates/ai/Cargo.toml b/crates/ai/Cargo.toml
index de21b2b5011..35fe5354c46 100644
--- a/crates/ai/Cargo.toml
+++ b/crates/ai/Cargo.toml
@@ -28,7 +28,6 @@ parking_lot.workspace = true
parse_duration = "2.1.1"
postage.workspace = true
rand.workspace = true
-regex.workspace = true
rusqlite = { version = "0.29.0", features = ["blob", "array", "modern_sqlite"] }
serde.workspace = true
serde_json.workspace = true
diff --git a/crates/audio/Cargo.toml b/crates/audio/Cargo.toml
index 58ab15d910a..d66df11f9f3 100644
--- a/crates/audio/Cargo.toml
+++ b/crates/audio/Cargo.toml
@@ -13,9 +13,7 @@ doctest = false
anyhow.workspace = true
collections.workspace = true
derive_more.workspace = true
-futures.workspace = true
gpui.workspace = true
-log.workspace = true
parking_lot.workspace = true
rodio = { version = "0.17.1", default-features = false, features = ["wav"] }
util.workspace = true
diff --git a/crates/auto_update/Cargo.toml b/crates/auto_update/Cargo.toml
index 18528b595c8..8135d5b795d 100644
--- a/crates/auto_update/Cargo.toml
+++ b/crates/auto_update/Cargo.toml
@@ -16,11 +16,9 @@ db.workspace = true
editor.workspace = true
gpui.workspace = true
isahc.workspace = true
-lazy_static.workspace = true
log.workspace = true
markdown_preview.workspace = true
menu.workspace = true
-project.workspace = true
release_channel.workspace = true
schemars.workspace = true
serde.workspace = true
@@ -29,6 +27,5 @@ serde_json.workspace = true
settings.workspace = true
smol.workspace = true
tempfile.workspace = true
-theme.workspace = true
util.workspace = true
workspace.workspace = true
diff --git a/crates/breadcrumbs/Cargo.toml b/crates/breadcrumbs/Cargo.toml
index cef0a2ac0bd..24f3a70fd33 100644
--- a/crates/breadcrumbs/Cargo.toml
+++ b/crates/breadcrumbs/Cargo.toml
@@ -10,15 +10,10 @@ path = "src/breadcrumbs.rs"
doctest = false
[dependencies]
-collections.workspace = true
editor.workspace = true
gpui.workspace = true
itertools.workspace = true
-language.workspace = true
outline.workspace = true
-project.workspace = true
-search.workspace = true
-settings.workspace = true
theme.workspace = true
ui.workspace = true
workspace.workspace = true
diff --git a/crates/channel/Cargo.toml b/crates/channel/Cargo.toml
index f922e8c6d04..ccd690059f0 100644
--- a/crates/channel/Cargo.toml
+++ b/crates/channel/Cargo.toml
@@ -17,34 +17,18 @@ anyhow.workspace = true
client.workspace = true
clock.workspace = true
collections.workspace = true
-db.workspace = true
-feature_flags.workspace = true
futures.workspace = true
gpui.workspace = true
-image = "0.23"
language.workspace = true
-lazy_static.workspace = true
log.workspace = true
-parking_lot.workspace = true
-postage.workspace = true
rand.workspace = true
release_channel.workspace = true
rpc.workspace = true
-schemars.workspace = true
-serde.workspace = true
-serde_derive.workspace = true
settings.workspace = true
-smallvec.workspace = true
-smol.workspace = true
sum_tree.workspace = true
-tempfile.workspace = true
text.workspace = true
-thiserror.workspace = true
time.workspace = true
-tiny_http = "0.8"
-url.workspace = true
util.workspace = true
-uuid.workspace = true
[dev-dependencies]
collections = { workspace = true, features = ["test-support"] }
diff --git a/crates/collab_ui/Cargo.toml b/crates/collab_ui/Cargo.toml
index aa54203466e..e88d191af57 100644
--- a/crates/collab_ui/Cargo.toml
+++ b/crates/collab_ui/Cargo.toml
@@ -35,19 +35,16 @@ collections.workspace = true
db.workspace = true
editor.workspace = true
extensions_ui.workspace = true
-feature_flags.workspace = true
feedback.workspace = true
futures.workspace = true
fuzzy.workspace = true
gpui.workspace = true
language.workspace = true
lazy_static.workspace = true
-log.workspace = true
menu.workspace = true
notifications.workspace = true
parking_lot.workspace = true
picker.workspace = true
-postage.workspace = true
project.workspace = true
recent_projects.workspace = true
rich_text.workspace = true
@@ -68,7 +65,6 @@ util.workspace = true
vcs_menu.workspace = true
workspace.workspace = true
zed_actions.workspace = true
-sys-locale.workspace = true
[dev-dependencies]
call = { workspace = true, features = ["test-support"] }
diff --git a/crates/db/Cargo.toml b/crates/db/Cargo.toml
index 138eba776af..0b01e691b18 100644
--- a/crates/db/Cargo.toml
+++ b/crates/db/Cargo.toml
@@ -14,22 +14,16 @@ test-support = []
[dependencies]
anyhow.workspace = true
-async-trait.workspace = true
-collections.workspace = true
gpui.workspace = true
indoc.workspace = true
lazy_static.workspace = true
log.workspace = true
-parking_lot.workspace = true
release_channel.workspace = true
-serde.workspace = true
-serde_derive.workspace = true
smol.workspace = true
sqlez.workspace = true
sqlez_macros.workspace = true
util.workspace = true
[dev-dependencies]
-env_logger.workspace = true
gpui = { workspace = true, features = ["test-support"] }
tempfile.workspace = true
diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.toml
index c13d6362ffd..221d6a52462 100644
--- a/crates/editor/Cargo.toml
+++ b/crates/editor/Cargo.toml
@@ -46,20 +46,16 @@ lsp.workspace = true
multi_buffer.workspace = true
ordered-float.workspace = true
parking_lot.workspace = true
-postage.workspace = true
project.workspace = true
rand.workspace = true
-rich_text.workspace = true
rpc.workspace = true
schemars.workspace = true
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
smallvec.workspace = true
smol.workspace = true
snippet.workspace = true
-sqlez.workspace = true
sum_tree.workspace = true
text.workspace = true
theme.workspace = true
@@ -87,7 +83,6 @@ text = { workspace = true, features = ["test-support"] }
tree-sitter-html.workspace = true
tree-sitter-rust.workspace = true
tree-sitter-typescript.workspace = true
-tree-sitter.workspace = true
unindent.workspace = true
util = { workspace = true, features = ["test-support"] }
workspace = { workspace = true, features = ["test-support"] }
diff --git a/crates/extension/Cargo.toml b/crates/extension/Cargo.toml
index 32ed59d2a36..97eb7adbf3c 100644
--- a/crates/extension/Cargo.toml
+++ b/crates/extension/Cargo.toml
@@ -16,7 +16,6 @@ path = "src/extension_json_schemas.rs"
anyhow.workspace = true
async-compression.workspace = true
async-tar.workspace = true
-client.workspace = true
collections.workspace = true
fs.workspace = true
futures.workspace = true
@@ -33,7 +32,6 @@ toml.workspace = true
util.workspace = true
[dev-dependencies]
-client = { workspace = true, features = ["test-support"] }
fs = { workspace = true, features = ["test-support"] }
gpui = { workspace = true, features = ["test-support"] }
language = { workspace = true, features = ["test-support"] }
diff --git a/crates/extensions_ui/Cargo.toml b/crates/extensions_ui/Cargo.toml
index cd1e89838a5..df55a5091a5 100644
--- a/crates/extensions_ui/Cargo.toml
+++ b/crates/extensions_ui/Cargo.toml
@@ -12,25 +12,13 @@ path = "src/extensions_ui.rs"
test-support = []
[dependencies]
-anyhow.workspace = true
-async-compression.workspace = true
-async-tar.workspace = true
client.workspace = true
-db.workspace = true
editor.workspace = true
extension.workspace = true
-fs.workspace = true
-futures.workspace = true
-fuzzy.workspace = true
gpui.workspace = true
-log.workspace = true
-project.workspace = true
-serde.workspace = true
-serde_json.workspace = true
settings.workspace = true
theme.workspace = true
ui.workspace = true
-util.workspace = true
workspace.workspace = true
[dev-dependencies]
diff --git a/crates/feature_flags/Cargo.toml b/crates/feature_flags/Cargo.toml
index 78caa1dc72c..cf0f9475af8 100644
--- a/crates/feature_flags/Cargo.toml
+++ b/crates/feature_flags/Cargo.toml
@@ -9,5 +9,4 @@ license = "GPL-3.0-or-later"
path = "src/feature_flags.rs"
[dependencies]
-anyhow.workspace = true
gpui.workspace = true
diff --git a/crates/fs/Cargo.toml b/crates/fs/Cargo.toml
index 67f0ad47ff2..aedb28d5b34 100644
--- a/crates/fs/Cargo.toml
+++ b/crates/fs/Cargo.toml
@@ -23,7 +23,6 @@ tempfile.workspace = true
lazy_static.workspace = true
parking_lot.workspace = true
smol.workspace = true
-regex.workspace = true
git2.workspace = true
serde.workspace = true
serde_derive.workspace = true
diff --git a/crates/git/Cargo.toml b/crates/git/Cargo.toml
index 648ea336c28..720a0cdd323 100644
--- a/crates/git/Cargo.toml
+++ b/crates/git/Cargo.toml
@@ -9,19 +9,13 @@ license = "GPL-3.0-or-later"
path = "src/git.rs"
[dependencies]
-anyhow.workspace = true
-async-trait.workspace = true
clock.workspace = true
-collections.workspace = true
-futures.workspace = true
git2.workspace = true
lazy_static.workspace = true
log.workspace = true
-parking_lot.workspace = true
smol.workspace = true
sum_tree.workspace = true
text.workspace = true
-util.workspace = true
[dev-dependencies]
unindent.workspace = true
diff --git a/crates/go_to_line/Cargo.toml b/crates/go_to_line/Cargo.toml
index e75ed95ad58..a009e275476 100644
--- a/crates/go_to_line/Cargo.toml
+++ b/crates/go_to_line/Cargo.toml
@@ -13,9 +13,6 @@ doctest = false
editor.workspace = true
gpui.workspace = true
menu.workspace = true
-postage.workspace = true
-serde.workspace = true
-settings.workspace = true
text.workspace = true
theme.workspace = true
ui.workspace = true
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml
index cd0106a8963..f27fd0ca7f0 100644
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -10,7 +10,6 @@ license = "Apache-2.0"
[features]
test-support = [
"backtrace",
- "dhat",
"env_logger",
"collections/test-support",
"util/test-support",
@@ -26,7 +25,6 @@ doctest = false
anyhow.workspace = true
async-task = "4.7"
backtrace = { version = "0.3", optional = true }
-bitflags = "2.4.0"
blade-graphics = { workspace = true, optional = true }
blade-macros = { workspace = true, optional = true }
blade-rwh = { workspace = true, optional = true }
@@ -34,7 +32,6 @@ bytemuck = { version = "1", optional = true }
collections.workspace = true
ctor.workspace = true
derive_more.workspace = true
-dhat = { version = "0.3", optional = true }
env_logger = { version = "0.9", optional = true }
etagere = "0.2"
futures.workspace = true
@@ -46,7 +43,6 @@ lazy_static.workspace = true
linkme = "0.3"
log.workspace = true
num_cpus = "1.13"
-ordered-float.workspace = true
parking = "2.0.0"
parking_lot.workspace = true
pathfinder_geometry = "0.5"
@@ -77,10 +73,7 @@ waker-fn = "1.1.0"
[dev-dependencies]
backtrace = "0.3"
collections = { workspace = true, features = ["test-support"] }
-dhat = "0.3"
env_logger.workspace = true
-png = "0.16"
-simplelog = "0.9"
util = { workspace = true, features = ["test-support"] }
[build-dependencies]
diff --git a/crates/install_cli/Cargo.toml b/crates/install_cli/Cargo.toml
index 73bec50a16d..8afccceaaf1 100644
--- a/crates/install_cli/Cargo.toml
+++ b/crates/install_cli/Cargo.toml
@@ -14,6 +14,5 @@ test-support = []
[dependencies]
anyhow.workspace = true
gpui.workspace = true
-log.workspace = true
smol.workspace = true
util.workspace = true
diff --git a/crates/language/Cargo.toml b/crates/language/Cargo.toml
index 328327a2129..77abad1ecf6 100644
--- a/crates/language/Cargo.toml
+++ b/crates/language/Cargo.toml
@@ -12,7 +12,6 @@ doctest = false
[features]
test-support = [
"rand",
- "client/test-support",
"collections/test-support",
"lsp/test-support",
"text/test-support",
@@ -24,7 +23,6 @@ test-support = [
[dependencies]
anyhow.workspace = true
-async-broadcast = "0.4"
async-trait.workspace = true
clock.workspace = true
collections.workspace = true
@@ -43,7 +41,6 @@ regex.workspace = true
rpc.workspace = true
schemars.workspace = true
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
similar = "1.3"
@@ -52,7 +49,6 @@ smol.workspace = true
sum_tree.workspace = true
text.workspace = true
theme.workspace = true
-toml.workspace = true
tree-sitter-rust = { workspace = true, optional = true }
tree-sitter-typescript = { workspace = true, optional = true }
pulldown-cmark.workspace = true
@@ -61,7 +57,6 @@ unicase = "2.6"
util.workspace = true
[dev-dependencies]
-client = { workspace = true, features = ["test-support"] }
collections = { workspace = true, features = ["test-support"] }
ctor.workspace = true
env_logger.workspace = true
@@ -77,7 +72,6 @@ tree-sitter-heex.workspace = true
tree-sitter-html.workspace = true
tree-sitter-json.workspace = true
tree-sitter-markdown.workspace = true
-tree-sitter-python.workspace = true
tree-sitter-ruby.workspace = true
tree-sitter-rust.workspace = true
tree-sitter-typescript.workspace = true
diff --git a/crates/language_tools/Cargo.toml b/crates/language_tools/Cargo.toml
index 06884fe4550..2afad658c8b 100644
--- a/crates/language_tools/Cargo.toml
+++ b/crates/language_tools/Cargo.toml
@@ -18,7 +18,6 @@ gpui.workspace = true
language.workspace = true
lsp.workspace = true
project.workspace = true
-serde.workspace = true
serde_json.workspace = true
settings.workspace = true
theme.workspace = true
@@ -33,5 +32,4 @@ editor = { workspace = true, features = ["test-support"] }
release_channel.workspace = true
env_logger.workspace = true
gpui = { workspace = true, features = ["test-support"] }
-unindent.workspace = true
util = { workspace = true, features = ["test-support"] }
diff --git a/crates/live_kit_client/Cargo.toml b/crates/live_kit_client/Cargo.toml
index 4dedc6ded8a..a18199fe5aa 100644
--- a/crates/live_kit_client/Cargo.toml
+++ b/crates/live_kit_client/Cargo.toml
@@ -49,32 +49,22 @@ nanoid = "0.4"
[dev-dependencies]
anyhow.workspace = true
async-trait.workspace = true
-block = "0.1"
-byteorder = "1.4"
-bytes = "1.2"
collections = { workspace = true, features = ["test-support"] }
-foreign-types = "0.3"
futures.workspace = true
gpui = { workspace = true, features = ["test-support"] }
-hmac = "0.12"
-jwt = "0.16"
live_kit_server.workspace = true
media.workspace = true
nanoid = "0.4"
parking_lot.workspace = true
-serde.workspace = true
-serde_derive.workspace = true
-sha2 = "0.10"
+sha2.workspace = true
simplelog = "0.9"
[target.'cfg(target_os = "macos")'.dev-dependencies]
-cocoa = "0.25"
core-foundation.workspace = true
-core-graphics = "0.22.3"
-foreign-types = "0.3"
-objc = "0.2"
[build-dependencies]
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
+
+[package.metadata.cargo-machete]
+ignored = ["serde_json"]
diff --git a/crates/live_kit_server/Cargo.toml b/crates/live_kit_server/Cargo.toml
index 63b4fe10663..3c742111c49 100644
--- a/crates/live_kit_server/Cargo.toml
+++ b/crates/live_kit_server/Cargo.toml
@@ -13,16 +13,17 @@ doctest = false
[dependencies]
anyhow.workspace = true
async-trait.workspace = true
-futures.workspace = true
hmac = "0.12"
jwt = "0.16"
log.workspace = true
-prost = "0.8"
+prost.workspace = true
prost-types = "0.8"
reqwest = "0.11"
serde.workspace = true
-serde_derive.workspace = true
-sha2 = "0.10"
+sha2.workspace = true
[build-dependencies]
prost-build = "0.9"
+
+[package.metadata.cargo-machete]
+ignored = ["prost-types"]
diff --git a/crates/markdown_preview/Cargo.toml b/crates/markdown_preview/Cargo.toml
index f07447ef3f0..5ac5ae3cb5a 100644
--- a/crates/markdown_preview/Cargo.toml
+++ b/crates/markdown_preview/Cargo.toml
@@ -12,19 +12,13 @@ path = "src/markdown_preview.rs"
test-support = []
[dependencies]
-anyhow.workspace = true
editor.workspace = true
gpui.workspace = true
language.workspace = true
-lazy_static.workspace = true
-log.workspace = true
-menu.workspace = true
-project.workspace = true
pretty_assertions.workspace = true
pulldown-cmark.workspace = true
theme.workspace = true
ui.workspace = true
-util.workspace = true
workspace.workspace = true
[dev-dependencies]
diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml
index 246add72152..784139f1293 100644
--- a/crates/media/Cargo.toml
+++ b/crates/media/Cargo.toml
@@ -11,8 +11,6 @@ doctest = false
[dependencies]
anyhow.workspace = true
-block = "0.1"
-bytes = "1.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation.workspace = true
diff --git a/crates/multi_buffer/Cargo.toml b/crates/multi_buffer/Cargo.toml
index b62c73d0b27..4c95403c8c8 100644
--- a/crates/multi_buffer/Cargo.toml
+++ b/crates/multi_buffer/Cargo.toml
@@ -11,66 +11,35 @@ doctest = false
[features]
test-support = [
- "copilot/test-support",
"text/test-support",
"language/test-support",
"gpui/test-support",
"util/test-support",
- "tree-sitter-rust",
- "tree-sitter-typescript"
]
[dependencies]
-aho-corasick = "1.1"
anyhow.workspace = true
-client.workspace = true
clock.workspace = true
collections.workspace = true
-convert_case = "0.6.0"
futures.workspace = true
git.workspace = true
gpui.workspace = true
indoc = "1.0.4"
itertools.workspace = true
language.workspace = true
-lazy_static.workspace = true
log.workspace = true
-lsp.workspace = true
-ordered-float.workspace = true
parking_lot.workspace = true
-postage.workspace = true
-pulldown-cmark.workspace = true
rand.workspace = true
-rich_text.workspace = true
-schemars.workspace = true
-serde.workspace = true
-serde_derive.workspace = true
settings.workspace = true
-smallvec.workspace = true
-smol.workspace = true
-snippet.workspace = true
sum_tree.workspace = true
text.workspace = true
theme.workspace = true
-tree-sitter-html = { workspace = true, optional = true }
-tree-sitter-rust = { workspace = true, optional = true }
-tree-sitter-typescript = { workspace = true, optional = true }
util.workspace = true
[dev-dependencies]
-copilot = { workspace = true, features = ["test-support"] }
-ctor.workspace = true
-env_logger.workspace = true
gpui = { workspace = true, features = ["test-support"] }
language = { workspace = true, features = ["test-support"] }
-lsp = { workspace = true, features = ["test-support"] }
-project = { workspace = true, features = ["test-support"] }
rand.workspace = true
settings = { workspace = true, features = ["test-support"] }
text = { workspace = true, features = ["test-support"] }
-tree-sitter-html.workspace = true
-tree-sitter-rust.workspace = true
-tree-sitter-typescript.workspace = true
-tree-sitter.workspace = true
-unindent.workspace = true
util = { workspace = true, features = ["test-support"] }
diff --git a/crates/outline/Cargo.toml b/crates/outline/Cargo.toml
index a67371847a5..28dc5d6a1b8 100644
--- a/crates/outline/Cargo.toml
+++ b/crates/outline/Cargo.toml
@@ -16,10 +16,8 @@ gpui.workspace = true
language.workspace = true
ordered-float.workspace = true
picker.workspace = true
-postage.workspace = true
settings.workspace = true
smol.workspace = true
-text.workspace = true
theme.workspace = true
ui.workspace = true
util.workspace = true
diff --git a/crates/prettier/Cargo.toml b/crates/prettier/Cargo.toml
index 451ef78306f..242a65ba7bf 100644
--- a/crates/prettier/Cargo.toml
+++ b/crates/prettier/Cargo.toml
@@ -14,10 +14,8 @@ test-support = []
[dependencies]
anyhow.workspace = true
-client.workspace = true
collections.workspace = true
fs.workspace = true
-futures.workspace = true
gpui.workspace = true
language.workspace = true
log.workspace = true
@@ -25,7 +23,6 @@ lsp.workspace = true
node_runtime.workspace = true
parking_lot.workspace = true
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
util.workspace = true
diff --git a/crates/project/Cargo.toml b/crates/project/Cargo.toml
index 56b4bc5fb40..7f91a15b183 100644
--- a/crates/project/Cargo.toml
+++ b/crates/project/Cargo.toml
@@ -12,7 +12,6 @@ doctest = false
[features]
test-support = [
"client/test-support",
- "db/test-support",
"language/test-support",
"settings/test-support",
"text/test-support",
@@ -28,7 +27,6 @@ client.workspace = true
clock.workspace = true
collections.workspace = true
copilot.workspace = true
-db.workspace = true
fs.workspace = true
futures.workspace = true
fuzzy.workspace = true
@@ -52,7 +50,7 @@ schemars.workspace = true
serde.workspace = true
serde_json.workspace = true
settings.workspace = true
-sha2 = "0.10"
+sha2.workspace = true
similar = "1.3"
smol.workspace = true
sum_tree.workspace = true
@@ -64,7 +62,6 @@ which.workspace = true
[dev-dependencies]
client = { workspace = true, features = ["test-support"] }
collections = { workspace = true, features = ["test-support"] }
-db = { workspace = true, features = ["test-support"] }
env_logger.workspace = true
fs = { workspace = true, features = ["test-support"] }
git2.workspace = true
diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml
index 8946ca7d151..639600876aa 100644
--- a/crates/project_panel/Cargo.toml
+++ b/crates/project_panel/Cargo.toml
@@ -14,10 +14,8 @@ anyhow.workspace = true
collections.workspace = true
db.workspace = true
editor.workspace = true
-futures.workspace = true
gpui.workspace = true
menu.workspace = true
-postage.workspace = true
pretty_assertions.workspace = true
project.workspace = true
schemars.workspace = true
@@ -26,7 +24,6 @@ serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
-smallvec.workspace = true
theme.workspace = true
ui.workspace = true
unicase = "2.6"
diff --git a/crates/project_symbols/Cargo.toml b/crates/project_symbols/Cargo.toml
index 078d09f0a11..93b122eaf0c 100644
--- a/crates/project_symbols/Cargo.toml
+++ b/crates/project_symbols/Cargo.toml
@@ -16,12 +16,9 @@ fuzzy.workspace = true
gpui.workspace = true
ordered-float.workspace = true
picker.workspace = true
-postage.workspace = true
project.workspace = true
serde_json.workspace = true
settings.workspace = true
-smol.workspace = true
-text.workspace = true
theme.workspace = true
util.workspace = true
workspace.workspace = true
diff --git a/crates/refineable/Cargo.toml b/crates/refineable/Cargo.toml
index cc1b5d0344f..97f03f1f2f2 100644
--- a/crates/refineable/Cargo.toml
+++ b/crates/refineable/Cargo.toml
@@ -11,6 +11,3 @@ doctest = false
[dependencies]
derive_refineable = { path = "./derive_refineable" }
-proc-macro2 = "1.0.66"
-quote = "1.0.9"
-syn = "1.0.72"
diff --git a/crates/rpc/Cargo.toml b/crates/rpc/Cargo.toml
index 9b7542dd443..7f6750bce53 100644
--- a/crates/rpc/Cargo.toml
+++ b/crates/rpc/Cargo.toml
@@ -15,7 +15,6 @@ test-support = ["collections/test-support", "gpui/test-support"]
[dependencies]
anyhow.workspace = true
-async-lock = "2.4"
async-tungstenite = "0.16"
base64 = "0.13"
collections.workspace = true
@@ -26,7 +25,6 @@ prost.workspace = true
rand.workspace = true
rsa = "0.4"
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
strum.workspace = true
tracing = { version = "0.1.34", features = ["log"] }
diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml
index d4e2c70a231..4d0db018a41 100644
--- a/crates/search/Cargo.toml
+++ b/crates/search/Cargo.toml
@@ -17,13 +17,10 @@ editor.workspace = true
futures.workspace = true
gpui.workspace = true
language.workspace = true
-log.workspace = true
menu.workspace = true
-postage.workspace = true
project.workspace = true
semantic_index.workspace = true
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
smallvec.workspace = true
diff --git a/crates/semantic_index/Cargo.toml b/crates/semantic_index/Cargo.toml
index 4ee5baa662f..5c922a503ac 100644
--- a/crates/semantic_index/Cargo.toml
+++ b/crates/semantic_index/Cargo.toml
@@ -12,10 +12,8 @@ doctest = false
[dependencies]
ai.workspace = true
anyhow.workspace = true
-async-trait.workspace = true
collections.workspace = true
futures.workspace = true
-globset.workspace = true
gpui.workspace = true
language.workspace = true
lazy_static.workspace = true
@@ -35,25 +33,21 @@ serde_json.workspace = true
settings.workspace = true
sha1 = "0.10.5"
smol.workspace = true
-tiktoken-rs.workspace = true
tree-sitter.workspace = true
util.workspace = true
workspace.workspace = true
[dev-dependencies]
ai = { workspace = true, features = ["test-support"] }
-client.workspace = true
collections = { workspace = true, features = ["test-support"] }
ctor.workspace = true
env_logger.workspace = true
gpui = { workspace = true, features = ["test-support"] }
language = { workspace = true, features = ["test-support"] }
-node_runtime.workspace = true
pretty_assertions.workspace = true
project = { workspace = true, features = ["test-support"] }
rand.workspace = true
rpc = { workspace = true, features = ["test-support"] }
-rust-embed.workspace = true
settings = { workspace = true, features = ["test-support"]}
tempfile.workspace = true
tree-sitter-cpp.workspace = true
diff --git a/crates/sqlez_macros/Cargo.toml b/crates/sqlez_macros/Cargo.toml
index 8b9b29dd570..aab2596ddd1 100644
--- a/crates/sqlez_macros/Cargo.toml
+++ b/crates/sqlez_macros/Cargo.toml
@@ -12,8 +12,6 @@ doctest = false
[dependencies]
lazy_static.workspace = true
-proc-macro2 = "1.0"
-quote = "1.0"
sqlez.workspace = true
sqlformat = "0.2"
syn = "1.0"
diff --git a/crates/terminal/Cargo.toml b/crates/terminal/Cargo.toml
index 6218d803447..7b372968748 100644
--- a/crates/terminal/Cargo.toml
+++ b/crates/terminal/Cargo.toml
@@ -14,15 +14,12 @@ doctest = false
alacritty_terminal = "0.22.0"
anyhow.workspace = true
collections.workspace = true
-db.workspace = true
dirs = "4.0.0"
futures.workspace = true
gpui.workspace = true
itertools.workspace = true
lazy_static.workspace = true
libc = "0.2"
-mio-extras = "2.0.6"
-ordered-float.workspace = true
procinfo = { git = "https://github.com/zed-industries/wezterm", rev = "0c13436f4fa8b126f46dd4a20106419b41666897", default-features = false }
task.workspace = true
schemars.workspace = true
@@ -30,8 +27,6 @@ serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
-shellexpand.workspace = true
-smallvec.workspace = true
smol.workspace = true
theme.workspace = true
thiserror.workspace = true
diff --git a/crates/text/Cargo.toml b/crates/text/Cargo.toml
index 1a7f8177a9d..798b506b5e2 100644
--- a/crates/text/Cargo.toml
+++ b/crates/text/Cargo.toml
@@ -16,7 +16,6 @@ test-support = ["rand"]
anyhow.workspace = true
clock.workspace = true
collections.workspace = true
-digest = { version = "0.9", features = ["std"] }
lazy_static.workspace = true
log.workspace = true
parking_lot.workspace = true
diff --git a/crates/theme_selector/Cargo.toml b/crates/theme_selector/Cargo.toml
index 5de6a8e87b5..7e7e6fe9b64 100644
--- a/crates/theme_selector/Cargo.toml
+++ b/crates/theme_selector/Cargo.toml
@@ -16,15 +16,11 @@ fs.workspace = true
fuzzy.workspace = true
gpui.workspace = true
log.workspace = true
-parking_lot.workspace = true
picker.workspace = true
-postage.workspace = true
settings.workspace = true
-smol.workspace = true
theme.workspace = true
ui.workspace = true
util.workspace = true
workspace.workspace = true
[dev-dependencies]
-editor = { workspace = true, features = ["test-support"] }
diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml
index 29ea2d58586..6b93ef08476 100644
--- a/crates/ui/Cargo.toml
+++ b/crates/ui/Cargo.toml
@@ -15,8 +15,6 @@ chrono.workspace = true
gpui.workspace = true
itertools = { workspace = true, optional = true }
menu.workspace = true
-rand = "0.8"
-serde.workspace = true
settings.workspace = true
smallvec.workspace = true
story = { workspace = true, optional = true }
diff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.toml
index afc607defb5..44c6a988593 100644
--- a/crates/workspace/Cargo.toml
+++ b/crates/workspace/Cargo.toml
@@ -13,6 +13,7 @@ doctest = false
test-support = [
"call/test-support",
"client/test-support",
+ "db/test-support",
"project/test-support",
"settings/test-support",
"gpui/test-support",
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index b23436506bc..7afce7a175b 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -17,14 +17,9 @@ path = "src/main.rs"
[dependencies]
activity_indicator.workspace = true
-ai.workspace = true
anyhow.workspace = true
assets.workspace = true
assistant.workspace = true
-async-compression.workspace = true
-async-recursion = "0.3"
-async-tar.workspace = true
-async-trait.workspace = true
audio.workspace = true
auto_update.workspace = true
backtrace = "0.3"
@@ -40,14 +35,12 @@ collections.workspace = true
command_palette.workspace = true
copilot.workspace = true
copilot_ui.workspace = true
-ctor.workspace = true
db.workspace = true
diagnostics.workspace = true
editor.workspace = true
env_logger.workspace = true
extension.workspace = true
extensions_ui.workspace = true
-feature_flags.workspace = true
feedback.workspace = true
file_finder.workspace = true
fs.workspace = true
@@ -55,9 +48,6 @@ fsevent.workspace = true
futures.workspace = true
go_to_line.workspace = true
gpui.workspace = true
-ignore = "0.4"
-image = "0.23"
-indexmap = "1.6.2"
install_cli.workspace = true
isahc.workspace = true
itertools.workspace = true
@@ -66,55 +56,33 @@ language.workspace = true
language_selector.workspace = true
language_tools.workspace = true
languages.workspace = true
-lazy_static.workspace = true
-libc = "0.2"
log.workspace = true
-lsp.workspace = true
markdown_preview.workspace = true
menu.workspace = true
mimalloc = "0.1"
node_runtime.workspace = true
notifications.workspace = true
-num_cpus = "1.13.0"
outline.workspace = true
parking_lot.workspace = true
-postage.workspace = true
-profiling.workspace = true
project.workspace = true
project_panel.workspace = true
project_symbols.workspace = true
quick_action_bar.workspace = true
-rand.workspace = true
recent_projects.workspace = true
-regex.workspace = true
release_channel.workspace = true
rope.workspace = true
-rpc.workspace = true
-rsa = "0.4"
-rust-embed.workspace = true
-schemars.workspace = true
search.workspace = true
semantic_index.workspace = true
serde.workspace = true
-serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
-shellexpand.workspace = true
simplelog = "0.9"
-smallvec.workspace = true
smol.workspace = true
-sum_tree.workspace = true
task.workspace = true
tasks_ui.workspace = true
-tempfile.workspace = true
terminal_view.workspace = true
-text.workspace = true
theme.workspace = true
theme_selector.workspace = true
-thiserror.workspace = true
-tiny_http = "0.8"
-toml.workspace = true
-url.workspace = true
urlencoding = "2.1.2"
util.workspace = true
uuid.workspace = true
@@ -129,9 +97,7 @@ editor = { workspace = true, features = ["test-support"] }
gpui = { workspace = true, features = ["test-support"] }
language = { workspace = true, features = ["test-support"] }
project = { workspace = true, features = ["test-support"] }
-text = { workspace = true, features = ["test-support"] }
tree-sitter-rust.workspace = true
-unindent.workspace = true
workspace = { workspace = true, features = ["test-support"] }
[package.metadata.bundle-dev]