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.

panel: Remove unneeded `lib.name` field in `Cargo.toml` (#24301)

Marshall Bowers2f5abe2b5a79
diff --git a/crates/panel/Cargo.toml b/crates/panel/Cargo.toml
index 03db05bb0bf..4e7c81804d3 100644
--- a/crates/panel/Cargo.toml
+++ b/crates/panel/Cargo.toml
@@ -9,13 +9,9 @@ license = "GPL-3.0-or-later"
workspace = true
[lib]
-name = "panel"
path = "src/panel.rs"
[dependencies]
gpui.workspace = true
ui.workspace = true
workspace.workspace = true
-
-[features]
-default = []
diff --git a/script/new-crate b/script/new-crate
index 459384d7aea..099a9870b4e 100755
--- a/script/new-crate
+++ b/script/new-crate
@@ -53,9 +53,11 @@ license = "$LICENSE_MODE"
workspace = true
[lib]
-name = "$CRATE_NAME"
path = "src/$CRATE_NAME.rs"
+[features]
+default = []
+
[dependencies]
anyhow.workspace = true
gpui.workspace = true
@@ -67,9 +69,6 @@ util.workspace = true
# client.workspace = true
# project.workspace = true
# settings.workspace = true
-
-[features]
-default = []
EOF
)