panel: Remove unneeded lib.name field in Cargo.toml (#24301)
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
This commit is contained in:
@@ -9,13 +9,9 @@ license = "GPL-3.0-or-later"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "panel"
|
|
||||||
path = "src/panel.rs"
|
path = "src/panel.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui.workspace = true
|
gpui.workspace = true
|
||||||
ui.workspace = true
|
ui.workspace = true
|
||||||
workspace.workspace = true
|
workspace.workspace = true
|
||||||
|
|
||||||
[features]
|
|
||||||
default = []
|
|
||||||
|
|||||||
+3
-4
@@ -53,9 +53,11 @@ license = "$LICENSE_MODE"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "$CRATE_NAME"
|
|
||||||
path = "src/$CRATE_NAME.rs"
|
path = "src/$CRATE_NAME.rs"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
gpui.workspace = true
|
gpui.workspace = true
|
||||||
@@ -67,9 +69,6 @@ util.workspace = true
|
|||||||
# client.workspace = true
|
# client.workspace = true
|
||||||
# project.workspace = true
|
# project.workspace = true
|
||||||
# settings.workspace = true
|
# settings.workspace = true
|
||||||
|
|
||||||
[features]
|
|
||||||
default = []
|
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user