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.

Fix some formatting issues in `Cargo.toml` files (#7127)

Marshall Bowersdbb5fad14768
diff --git a/crates/assets/Cargo.toml b/crates/assets/Cargo.toml
index 54100afd3c8..ad9cd25b839 100644
--- a/crates/assets/Cargo.toml
+++ b/crates/assets/Cargo.toml
@@ -7,5 +7,5 @@ license = "GPL-3.0-or-later"
[dependencies]
anyhow.workspace = true
-gpui = {path = "../gpui"}
+gpui = { path = "../gpui" }
rust-embed.workspace = true
diff --git a/crates/assistant/Cargo.toml b/crates/assistant/Cargo.toml
index 180f3f6c2ef..dba31674b04 100644
--- a/crates/assistant/Cargo.toml
+++ b/crates/assistant/Cargo.toml
@@ -14,7 +14,7 @@ ai = { path = "../ai" }
anyhow.workspace = true
chrono.workspace = true
client = { path = "../client" }
-collections = { path = "../collections"}
+collections = { path = "../collections" }
editor = { path = "../editor" }
fs = { path = "../fs" }
futures.workspace = true
diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml
index 6b8af7db235..a271e1a8f3e 100644
--- a/crates/collab/Cargo.toml
+++ b/crates/collab/Cargo.toml
@@ -71,7 +71,7 @@ collections = { path = "../collections", features = ["test-support"] }
ctor.workspace = true
editor = { path = "../editor", features = ["test-support"] }
env_logger.workspace = true
-file_finder = { path = "../file_finder"}
+file_finder = { path = "../file_finder" }
fs = { path = "../fs", features = ["test-support"] }
git = { path = "../git", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
@@ -80,7 +80,7 @@ language = { path = "../language", features = ["test-support"] }
lazy_static.workspace = true
live_kit_client = { path = "../live_kit_client", features = ["test-support"] }
lsp = { path = "../lsp", features = ["test-support"] }
-menu = { path = "../menu"}
+menu = { path = "../menu" }
node_runtime = { path = "../node_runtime" }
notifications = { path = "../notifications", features = ["test-support"] }
pretty_assertions.workspace = true
diff --git a/crates/copilot/Cargo.toml b/crates/copilot/Cargo.toml
index 2f9c577c1db..73ce1c4df4a 100644
--- a/crates/copilot/Cargo.toml
+++ b/crates/copilot/Cargo.toml
@@ -29,7 +29,7 @@ gpui = { path = "../gpui" }
language = { path = "../language" }
log.workspace = true
lsp = { path = "../lsp" }
-node_runtime = { path = "../node_runtime"}
+node_runtime = { path = "../node_runtime" }
parking_lot.workspace = true
serde.workspace = true
serde_derive.workspace = true
diff --git a/crates/copilot_ui/Cargo.toml b/crates/copilot_ui/Cargo.toml
index 3d3f37ca6b2..6d9f87ddcee 100644
--- a/crates/copilot_ui/Cargo.toml
+++ b/crates/copilot_ui/Cargo.toml
@@ -22,8 +22,8 @@ smol.workspace = true
theme = { path = "../theme" }
ui = { path = "../ui" }
util = { path = "../util" }
-workspace = {path = "../workspace" }
-zed_actions = { path = "../zed_actions"}
+workspace = { path = "../workspace" }
+zed_actions = { path = "../zed_actions" }
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
diff --git a/crates/diagnostics/Cargo.toml b/crates/diagnostics/Cargo.toml
index 6ceaf56f723..79a7a717c7d 100644
--- a/crates/diagnostics/Cargo.toml
+++ b/crates/diagnostics/Cargo.toml
@@ -28,7 +28,7 @@ smallvec.workspace = true
theme = { path = "../theme" }
ui = { path = "../ui" }
util = { path = "../util" }
-workspace = {path = "../workspace" }
+workspace = { path = "../workspace" }
[dev-dependencies]
client = { path = "../client", features = ["test-support"] }
@@ -39,4 +39,4 @@ lsp = { path = "../lsp", features = ["test-support"] }
serde_json.workspace = true
theme = { path = "../theme", features = ["test-support"] }
unindent.workspace = true
-workspace = {path = "../workspace", features = ["test-support"] }
+workspace = { path = "../workspace", features = ["test-support"] }
diff --git a/crates/feedback/Cargo.toml b/crates/feedback/Cargo.toml
index fdac5dd6a62..59344eebecb 100644
--- a/crates/feedback/Cargo.toml
+++ b/crates/feedback/Cargo.toml
@@ -41,7 +41,7 @@ tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown",
ui = { path = "../ui" }
urlencoding = "2.1.2"
util = { path = "../util" }
-workspace = { path = "../workspace"}
+workspace = { path = "../workspace" }
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
diff --git a/crates/picker/Cargo.toml b/crates/picker/Cargo.toml
index c24d0379193..480911fe47c 100644
--- a/crates/picker/Cargo.toml
+++ b/crates/picker/Cargo.toml
@@ -18,7 +18,7 @@ settings = { path = "../settings" }
theme = { path = "../theme" }
ui = { path = "../ui" }
util = { path = "../util" }
-workspace = { path = "../workspace"}
+workspace = { path = "../workspace" }
[dev-dependencies]
ctor.workspace = true
diff --git a/crates/recent_projects/Cargo.toml b/crates/recent_projects/Cargo.toml
index ee4e4498fd2..333bb107a49 100644
--- a/crates/recent_projects/Cargo.toml
+++ b/crates/recent_projects/Cargo.toml
@@ -23,7 +23,7 @@ smol.workspace = true
text = { path = "../text" }
theme = { path = "../theme" }
ui = { path = "../ui" }
-util = { path = "../util"}
+util = { path = "../util" }
workspace = { path = "../workspace" }
[dev-dependencies]
diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml
index 6388ad062ba..0266770d101 100644
--- a/crates/search/Cargo.toml
+++ b/crates/search/Cargo.toml
@@ -29,7 +29,7 @@ settings = { path = "../settings" }
smallvec.workspace = true
smol.workspace = true
theme = { path = "../theme" }
-ui = {path = "../ui"}
+ui = { path = "../ui" }
util = { path = "../util" }
workspace = { path = "../workspace" }
diff --git a/crates/semantic_index/Cargo.toml b/crates/semantic_index/Cargo.toml
index a49145f0a05..7e8717a78ef 100644
--- a/crates/semantic_index/Cargo.toml
+++ b/crates/semantic_index/Cargo.toml
@@ -48,7 +48,7 @@ ctor.workspace = true
env_logger.workspace = true
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
-node_runtime = { path = "../node_runtime"}
+node_runtime = { path = "../node_runtime" }
pretty_assertions.workspace = true
project = { path = "../project", features = ["test-support"] }
rand.workspace = true
diff --git a/crates/theme/Cargo.toml b/crates/theme/Cargo.toml
index 81ae89a2681..d459661706c 100644
--- a/crates/theme/Cargo.toml
+++ b/crates/theme/Cargo.toml
@@ -20,7 +20,7 @@ doctest = false
[dependencies]
anyhow.workspace = true
-color = {path = "../color"}
+color = { path = "../color" }
derive_more.workspace = true
fs = { path = "../fs" }
futures.workspace = true
diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml
index 0c5316e5944..4b1d2d7c863 100644
--- a/crates/ui/Cargo.toml
+++ b/crates/ui/Cargo.toml
@@ -14,7 +14,7 @@ anyhow.workspace = true
chrono = "0.4"
gpui = { path = "../gpui" }
itertools = { version = "0.11.0", optional = true }
-menu = { path = "../menu"}
+menu = { path = "../menu" }
rand = "0.8"
serde.workspace = true
settings = { path = "../settings" }
diff --git a/crates/vim/Cargo.toml b/crates/vim/Cargo.toml
index 13c0b7bd45b..c5b6ec07325 100644
--- a/crates/vim/Cargo.toml
+++ b/crates/vim/Cargo.toml
@@ -35,7 +35,7 @@ serde_json.workspace = true
settings = { path = "../settings" }
theme = { path = "../theme" }
tokio = { version = "1.15", "optional" = true }
-ui = { path = "../ui"}
+ui = { path = "../ui" }
workspace = { path = "../workspace" }
zed_actions = { path = "../zed_actions" }