Open
Description
Problem
I have a workspace that has workspace.package.name
set. I am aware that it is not a supported key.
When creating a new crate with cargo new
it will set package.name.workspace = true
. This is not supported, and will then fail to build the crate.
Steps
- Workspace with
workspace.package.name
set to a string cargo new
- Observe it fail to build
Possible Solution(s)
Special case 'name' to not be inherited, even if it is set in the workspace?
Notes
No response
Version
cargo 1.75.0 (1d8b05cdd 2023-11-20)
release: 1.75.0
commit-hash: 1d8b05cdd1287c64467306cf3ca2c8ac60c11eb0
commit-date: 2023-11-20
host: x86_64-unknown-linux-gnu
libgit2: 1.7.1 (sys:0.18.1 vendored)
libcurl: 8.4.0-DEV (sys:0.4.68+curl-8.4.0 vendored ssl:OpenSSL/1.1.1u)
ssl: OpenSSL 1.1.1u 30 May 2023
os: NixOS 24.5.0 [64-bit]