cargo-bitbake icon indicating copy to clipboard operation
cargo-bitbake copied to clipboard

invalid type: map, expected a string for key `package.rust-version`

Open kkettinger opened this issue 2 years ago • 1 comments

When the key rust-version.workspace is used in the [package] group, i get this error:

error: failed to load manifest for workspace member `/home/devel/projects/slintui/slint/api/cpp`

Caused by:
  failed to parse manifest at `/home/devel/projects/slintui/slint/api/cpp/Cargo.toml`

Caused by:
  invalid type: map, expected a string for key `package.rust-version`

Contents of the Config.toml:

[package]
...
rust-version.workspace = true

kkettinger avatar Apr 30 '23 10:04 kkettinger

Possibly related: I get the same error for

edition.workspace = true
repository.workspace = true
license.workspace = true

chrthi-work avatar Aug 17 '23 14:08 chrthi-work