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

Marshall Bowers created

This PR removes the `name` field from under `lib` in the `Cargo.toml`
file for the `panel` crate, as it isn't necessary.

Also removed it from `script/new-crate`.

Release Notes:

- N/A

Change summary

crates/panel/Cargo.toml | 4 ----
script/new-crate        | 7 +++----
2 files changed, 3 insertions(+), 8 deletions(-)

Detailed changes

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 = []

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
 )