Skip to content

Commit

Permalink
panel: Remove unneeded lib.name field in Cargo.toml (#24301)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
maxdeviant authored Feb 5, 2025
1 parent 44a7614 commit 2f5abe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions crates/panel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
7 changes: 3 additions & 4 deletions script/new-crate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -67,9 +69,6 @@ util.workspace = true
# client.workspace = true
# project.workspace = true
# settings.workspace = true
[features]
default = []
EOF
)

Expand Down

0 comments on commit 2f5abe2

Please sign in to comment.